Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsc throws an error when CLD is included in the project #81

Open
kibertoad opened this issue Sep 30, 2023 · 0 comments
Open

tsc throws an error when CLD is included in the project #81

kibertoad opened this issue Sep 30, 2023 · 0 comments

Comments

@kibertoad
Copy link

kibertoad commented Sep 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant