Pārlūkot izejas kodu

add module declare

WNomunomu 2 gadi atpakaļ
vecāks
revīzija
f47f0e2293
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      packages/editor/src/@types/declaration.d.ts

+ 3 - 0
packages/editor/src/@types/declaration.d.ts

@@ -1,2 +1,5 @@
 // prevent TS2307: Cannot find module './xxx.module.scss' or its corresponding type declarations.
 declare module '*.scss';
+
+// prevent TS7016: Could not find a declaration file for module 'emoji-mart'.
+declare module 'emoji-mart';