diff --git a/src/sqlite/index.ts b/src/sqlite/index.ts index 2bf7aaa..3acb2fd 100644 --- a/src/sqlite/index.ts +++ b/src/sqlite/index.ts @@ -221,9 +221,7 @@ export async function checkStore(name: string, storeName: string) { */ function support(): boolean { try { - return ( - typeof plus.sqlite !== undefined - ); + return plus.sqlite !== undefined } catch (e) { return false; }