bug: typescript tsc build throwing complier error
See original GitHub issueDescribe the bug
tsc (typescript compiler) is throwing below error #16 5.784 node_modules/axios-cache-interceptor/dist/storage/web-api.d.ts(21,50): error TS2304: Cannot find name ‘Storage’.
To Reproduce
Additional context
- Axios:
^0.26.0
- Axios Cache Interceptor:
^0.10.6
- What storage is being used:
Redis
- Node Version:
v14.8.1
- typescript : v4.7.4
Issue Analytics
- State:
- Created a year ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
4.8 regression with `tsc --build`: error correctly reported, ...
json correctly fails with an error, but running the same command again exits 0 with no output. Note that in this case, the...
Read more >Is there a way for the typescript compiler to throw an error ...
No. I'm hoping for the compiler to actually throw an error and have the build fail if "any" is used. – Ryan Santos....
Read more >TypeScript errors and how to fix them
Below you find a list of common TypeScript errors along with the buggy code ... There is a typo in our code which...
Read more >TypeScript: Documentation - The Basics
This installs the TypeScript Compiler tsc globally. You can use npx or similar tools if you'd prefer to run tsc from a local...
Read more >Understanding TypeScript's “Compilation Process” & the ...
However, the tsc compiler (short for TypeScript compiler) needs a JSON ... the JavaScript, then the TypeScript compiler will throw an error.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh good to know, thank you
yes, thank you for your response, i needed to add DOM to the
"lib": ["es2020"],