We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does anybody was creating typing for this package?
The text was updated successfully, but these errors were encountered:
This is typing that works for me, probably it can be significantly improved.
declare function MemoryStorage(id?: string); declare const Function1: typeof MemoryStorage & MemoryStorage; declare namespace _Function1 { export interface MemoryStorage { setItem: (key: string, value: unknown) => void; getItem: (key: string) => unknown; clear: () => void; } } export = _Function1;
Sorry, something went wrong.
Hi @andreyshedko thanks for your comment. Would you like to try and make a pull request? I can help you if you want to try this.
If you want to take a stab at this:
Download
andreyshedko
No branches or pull requests
Does anybody was creating typing for this package?
The text was updated successfully, but these errors were encountered: