#`'StorageEstimate' is not defined` but it was auto-imported so it must exist
1 messages · Page 1 of 1 (latest)
If you've just installed a package this type is imported from you may need to restart ESLint
Also plz screenshot of repro
this is not from a package it is a type native to the browser
@stark hornet what is the exact error message you are getting?
also, could you show the code you have that is causing that issue
if possible, a repro in a TS playground would be nice
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
also, @stark hornet, as very-well explained in https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/estimate
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.