Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AuthTokenSetup.vue: move data property definition *after* methods, fi…
…x 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)
- Loading branch information