Duplicate identifiers problem
pvinis opened this issue · comments
Pavlos Vinieratos commented
I added this lib in my deps, and yarn.lock only had this lib as a change too.
I run yarn tsc
right after, and I get a million Duplicate identifier
issues.
Here's one of them:
node_modules/typescript/lib/lib.dom.d.ts:15973:11 - error TS2300: Duplicate identifier 'URL'.
15973 interface URL {
~~~
node_modules/@types/react-native/globals.d.ts:261:15
261 declare class URL {
~~~
'URL' was also declared here.
Sindre Sorhus commented
This is a known TS bug: DefinitelyTyped/DefinitelyTyped#34960