You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having installed both packages @types/node (v 14.6.2) and @types/requirejs (v. 2.1.32) there are conflicts during typescript compilations:
node_modules/@types/node/module.d.ts(51,14): error TS2300: Duplicate identifier 'mod'.
node_modules/@types/requirejs/index.d.ts(38,14): error TS2300: Duplicate identifier 'mod'.
node_modules/@types/requirejs/index.d.ts(422,13): error TS2403: Subsequent variable declarations must have the
same type. Variable 'require' must be of type 'NodeRequire', but here has type 'Require'.
In file node_modules/@types/requirejs/index.d.ts commenting line 422 declare var require: Require; and lines 32-39 declare module 'module' {... solved the problem apparently without side effects.
Thanks for looking!
mario
The text was updated successfully, but these errors were encountered:
Having installed both packages
@types/node
(v 14.6.2) and@types/requirejs
(v. 2.1.32) there are conflicts during typescript compilations:In file
node_modules/@types/requirejs/index.d.ts
commenting line 422declare var require: Require;
and lines 32-39declare module 'module' {...
solved the problem apparently without side effects.Thanks for looking!
mario
The text was updated successfully, but these errors were encountered: