node-cld icon indicating copy to clipboard operation
node-cld copied to clipboard

tsc throws an error when CLD is included in the project

Open kibertoad opened this issue 2 years ago • 0 comments

This happens with "skipLibCheck": false:

  > tsc --noEmit
  
  Error: ../../../node_modules/cld/index.d.ts(26,1): error TS2668: 'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.
  Error: ../../../node_modules/cld/index.d.ts(31,3): error TS1038: A 'declare' modifier cannot be used in an already ambient context.
  Error: ../../../node_modules/cld/index.d.ts(32,3): error TS1038: A 'declare' modifier cannot be used in an already ambient context.
  Error: ../../../node_modules/cld/index.d.ts(33,3): error TS1038: A 'declare' modifier cannot be used in an already ambient context.
  Error: ../../../node_modules/cld/index.d.ts(34,3): error TS1038: A 'declare' modifier cannot be used in an already ambient context.

TypeScript 5.2.2

See https://typescript.tv/errors/ -> TS2668

kibertoad avatar Sep 30 '23 10:09 kibertoad