Typescript errors on version 4.3.0
See original GitHub issueTwo new errors have appeared on the typescript definitions after upgrading to 4.3.0:
node_modules/helmet/dist/middlewares/content-security-policy/index.d.ts:21:70 - error TS1335: 'unique symbol' types are not allowed here.
21 [x: string]: Iterable<ContentSecurityPolicyDirectiveValue> | unique symbol;
~~~~~~~~~~~~~
node_modules/helmet/dist/middlewares/content-security-policy/index.d.ts:23:9 - error TS1332: A variable whose type is a 'unique symbol' type must be 'const'.
23 var dangerouslyDisableDefaultSrc: unique symbol;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Documentation - TypeScript 4.3
In recent versions, TypeScript introduced a new type construct: template string types. These are types that either construct new string-like types by ...
Read more >The Angular Compiler requires TypeScript >=4.2.3 and <4.3.0 ...
1 Answer 1 · npm install typescript@'>==4.2.3 <4.3.0' or npm install typescript@'>==4.2.3 <4.3.0' --save-dev · Go to package.json and change your typescript ......
Read more >Announcing TypeScript 4.3 - Microsoft Developer Blogs
Today we're excited to announce the availability of TypeScript 4.3! If you're not yet familiar with TypeScript, it's a language that builds ...
Read more >Firebase JavaScript SDK Release Notes - Google
The earlier update in version 9.13.0 upgraded TypeScript only in the root. ... Fixed some typings issues that caused compile errors for TypeScript...
Read more >typescript - npm
TypeScript is a language for application scale JavaScript development. Latest version: 4.9.4, last published: 18 days ago.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be fixed in
helmet@4.3.1
. Thanks for reporting!Thanks for letting me know.
What version of TypeScript are you using?