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
By default all visible ”@types” packages are included in your compilation. Packages in node_modules/@types of any enclosing folder are considered visible. For example, that means packages within ./node_modules/@types/, ../node_modules/@types/, ../../node_modules/@types/, and so on.
This means for developers developing from somewhere inside their home dir, globally installed @types interfere and conflict with the types in starknet-hardhat-plugin directory. Resulting in errors like these,
../../.. Points to my home dir.
../../../node_modules/@types/eslint/helpers.d.ts:1:6 - error TS2300: Duplicate identifier 'Prepend'.
'Prepend' was also declared in node_modules/@types/eslint/helpers.d.ts:1:6
The text was updated successfully, but these errors were encountered:
shramee
added a commit
to shramee/starknet-hardhat-plugin
that referenced
this issue
Dec 22, 2022
From
tsconfig#typeRoots
,This means for developers developing from somewhere inside their home dir, globally installed
@types
interfere and conflict with the types instarknet-hardhat-plugin
directory. Resulting in errors like these,../../..
Points to my home dir.The text was updated successfully, but these errors were encountered: