#`'StorageEstimate' is not defined` but it was auto-imported so it must exist

1 messages · Page 1 of 1 (latest)

stark hornet
#

I am trying to use the type StorageEstimate which I imported using intellisense in VSCode, yet during linting I get this message...

weak skiff
#

If you've just installed a package this type is imported from you may need to restart ESLint

#

Also plz screenshot of repro

stark hornet
#

this is not from a package it is a type native to the browser

willow pond
#

@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

#

This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.