Closed k15a closed 2 years ago
This will allow the typings to be used with "lib": ["DOM"] or @types/node.
{ "compilerOptions": { "lib": ["DOM", "ESNext"], "typeRoots": ["./node_modules/@types", "./node_modules/@figma"] } }
Before it was failing with this error message:
Cannot redeclare block-scoped variable 'console'.
This will allow the typings to be used with "lib": ["DOM"] or @types/node.
Before it was failing with this error message: