-
Couldn't load subscription status.
- Fork 30.5k
Closed
Description
- I tried using the
@types/nodeand@types/react-nativepackage and had problems. - I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript
- I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).
- Mention the authors (see
Definitions by:inindex.d.ts) so they can respond.
Both of the modules seem to define require and this results in some compliation trouble:
../node_modules/@types/node/index.d.ts(49,13): error TS2451: Cannot redeclare block-scoped variable 'global'.
../node_modules/@types/node/index.d.ts(73,13): error TS2300: Duplicate identifier 'require'.
../node_modules/@types/react-native/index.d.ts(8541,11): error TS2451: Cannot redeclare block-scoped variable 'global'.
../node_modules/@types/react-native/index.d.ts(8542,14): error TS2300: Duplicate identifier 'require'.
Any tips/workarounds?
peitalin, tsugitta, apieceofbart, marcmo, HofmannZ and 36 more
Metadata
Metadata
Assignees
Labels
No labels