Solo00RootS
Convex Community3y ago
8 replies
Solo00Root

i get this error everytime

To ignore failing typecheck, use `--typecheck=disable`.
../../../node_modules/@types/css-font-loading-module/index.d.ts:22:9 - error TS2717: Subsequent property declarations must have the same type.  Property 'display' must be of type 'FontDisplay | undefined', but here has type 'string | undefined'.

22         display?: string | undefined;
           ~~~~~~~

  node_modules/typescript/lib/lib.dom.d.ts:515:5
    515     display?: FontDisplay;
            ~~~~~~~
    'display' was also declared here.
../../../node_modules/@types/css-font-loading-module/index.d.ts:42:9 - error TS2717: Subsequent property declarations must have the same type.  Property 'display' must be of type 'FontDisplay', but here has type 'string'.

42         display: string;
           ~~~~~~~

  node_modules/typescript/lib/lib.dom.d.ts:5537:5
    5537     display: FontDisplay;
             ~~~~~~~
    'display' was also declared here.


Found 2 errors in the same file, starting at: ../../../node_modules/@types/css-font-loading-module/index.d.ts:22
Was this page helpful?