Skip to content

Commit

Permalink
fix ts issue with file-icons-js import (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiya1155 committed Jan 30, 2024
1 parent 9f5bae7 commit f186798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
useNodeViews,
} from '@nytimes/react-prosemirror';
import { schema as basicSchema } from 'prosemirror-schema-basic';
// @ts-ignore
import * as icons from 'file-icons-js';
import { useTranslation } from 'react-i18next';
import { InputEditorContent, ParsedQueryType } from '../../../../types/general';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-ignore
import * as icons from 'file-icons-js';
import { type AttributeSpec, type NodeSpec } from 'prosemirror-model';
import { getFileExtensionForLang, splitPath } from '../../../../utils';
Expand Down

0 comments on commit f186798

Please sign in to comment.