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
{{ message }}
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
I think this is a great suggestion. The usage of declare module here is definitely incorrect. I agree, our recommendation for usage is a bit clunky, including it via types is the way to go. I was initially unsure if that'd be a good idea since specifying types would preclude automatic inclusion of any @types/* packages, but I realize now that's largely irrelevant since most of those packages would be providing types for modules that are imported, not global.
Why is the KVNamespace declared differently than the rest of the interfaces?
workers-types/index.d.ts
Lines 443 to 444 in 6340625
Would it be better to reference the types like this?
Just thinking the instructions in the README are strange with respect to the empty import:
Might be considered an unused import by formatters/linters.
The text was updated successfully, but these errors were encountered: