[BUG] Angular v. 10 - Cannot use namespace 'CSS' as a type.
tobang opened this issue ยท 2 comments
tobang commented
๐ Bug report
Description
When building my project under Angular version I get the following error:
ERROR in node_modules/@ng-web-apis/common/tokens/css.d.ts:4:14 - error TS2709: Cannot use namespace 'CSS' as a type.
4 CSS: CSS;
~~~
node_modules/@ng-web-apis/common/tokens/css.d.ts:7:42 - error TS2709: Cannot use namespace 'CSS' as a type.
7 export declare const CSS: `InjectionToken<CSS>;
Reproduction
Build project under Angular version 10
Expected behavior
No error should be shown
Versions
- OS: Linux
- Browser: Chrome
- Angular 10
Additional context
waterplea commented
It's an unexpected issue with TypeScript 3.9+. We will release a fix, in a meantime you can upvote this: microsoft/TypeScript#39273
MarsiBarsi commented
Hi! Thank you for this issue
We released a tmp fix for the problem in #6.
Please, update to a package version v1.4.1 to use it with Angular 10