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
When attempting to use some of the examples from a Typescript app, the type information is outdated or missing. For example:
// this is missing type info and typescript complains import { IDBBatchAtomicVFS } from "wa-sqlite/src/examples/IDBBatchAtomicVFS.js";
I can get this work locally by adding to the index.d.ts:
index.d.ts
** @ignore */ declare module 'wa-sqlite/src/examples/IDBBatchAtomicVFS.js' { import * as VFS from "wa-sqlite/src/VFS.js"; export interface VFSOptions { durability?: "default" | "strict" | "relaxed"; purge?: "deferred" | "manual"; purgeAtLeast?: number; } export class IDBBatchAtomicVFS extends VFS.Base { constructor(idbDatabaseName:string, options: VFSOptions) } }
Happy to make a PR if you'd like, but I was unsure if that index.d.ts was generated or not.
The text was updated successfully, but these errors were encountered:
index.d.ts was only machine-generated at creation, and has been updated manually since then. Feel free to submit a PR.
Sorry, something went wrong.
@rhashimoto Thanks. I've made the PR here: #220
Closing as PR was withdrawn.
Successfully merging a pull request may close this issue.
When attempting to use some of the examples from a Typescript app, the type information is outdated or missing. For example:
I can get this work locally by adding to the
index.d.ts
:Happy to make a PR if you'd like, but I was unsure if that
index.d.ts
was generated or not.The text was updated successfully, but these errors were encountered: