Skip to content

Commit bb3d9f2

Browse files
committed
fix: (vue-auth) Assert that plugin is defined.
1 parent 0260a94 commit bb3d9f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-auth/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const authPlugin = <U = unknown>(options: AuthOptions<U>) => {
2727
// Install pinia options.storageOptions.plugins if any is provided
2828
if (options.storageOptions?.plugins) {
2929
for (let i = 0; i < options.storageOptions.plugins.length; i++) {
30-
const plugin = options.storageOptions.plugins[i]
30+
const plugin = options.storageOptions.plugins[i]!
3131
pinia.use(plugin)
3232
}
3333
}

0 commit comments

Comments
 (0)