Browse Source

add module declare

WNomunomu 2 năm trước cách đây
mục cha
commit
f47f0e2293
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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';