Skip to content

Commit

Permalink
chore: cleanup types
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed May 12, 2024
1 parent b7155ed commit 7902131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions projects/ngx-editor/schema/marks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ const strong: MarkSpec = {
// tags with a font-weight normal.
{
tag: 'b',
getAttrs: (dom: HTMLElement): Record<string, any> => {
getAttrs: (dom: HTMLElement) => {
return dom.style.fontWeight !== 'normal' && null;
},
},
{
style: 'font-weight',
getAttrs: (value: string): Record<string, any> => {
getAttrs: (value: string) => {
return (/^(?:bold(?:er)?|[5-9]\d{2,})$/).test(value) && null;
},
},
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true,
"strict": false,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
Expand Down

0 comments on commit 7902131

Please sign in to comment.