We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dd3e44 commit 5f6bfdcCopy full SHA for 5f6bfdc
1 file changed
src/runtime/utils/clientDatabaseManager.ts
@@ -92,7 +92,7 @@ export class ClientDatabaseManager {
92
93
init(
94
name: string,
95
- opts: AllOptions, // do not define this or init will break
+ opts?: AllOptions, // do not define this or init will break
96
initOptions: InitOptions = {}
97
): ClientDatabaseEntry | undefined {
98
const exists = this.databases.has(name)
@@ -198,7 +198,7 @@ export class ClientDatabaseManager {
198
199
async useClientDb(
200
name: string = this.defaultDatabaseName,
201
202
{
203
bypassEnvCheck = false,
204
addToWindowInDev = true,
0 commit comments