You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AuthTokenSetup.vue: move data property definition *after* methods, fix one error (still fails)
Merely moving the property after another fixes a Typescript error. I'm
baffled.
Still fails with two other errors where Typescript can't infer types on
properties referenced via this.$refs.
This fixes one of three Vue/Typescript errors:
ERROR in /app/src/components/AuthTokenSetup.vue.ts
47:9-14
[tsl] ERROR in /app/src/components/AuthTokenSetup.vue.ts(47,10)
TS2339: Property 'reset' does not exist on type 'CreateComponentPublicInstance<{}, { authTokenStore: Store<"auth-token", { tokens: IToken[]; }, {}, { updateToken(token: IToken): Promise<any>; addToken(name: string): Promise<ITokenResponse | null>; deleteToken(token: IToken): Promise<...>; wipeToken(token: IToken): Promise<...>; renameToken(token: IToken, newName: ...'.
Related:
* vuejs/vue#12628 (comment)
0 commit comments