Skip to content

Commit 0f956fd

Browse files
committed
components/AuthToken: add missing JsDoc
1 parent f5e6194 commit 0f956fd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/components/AuthToken.vue

+7-1
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,15 @@ export default defineComponent({
191191
canChangeScope() {
192192
return this.token.type === TokenType.PERMANENT_TOKEN
193193
},
194+
/**
195+
* @typedef {object} ClientInfo
196+
* @property {string} id client type
197+
* @property {string} os the OS the client is running on
198+
* @property {string} version the client version
199+
*/
194200
/**
195201
* Object ob the current user agend used by the token
196-
* @return Either an object containing user agent information or null if unknown
202+
* @return {ClientInfo} Either an object containing user agent information or null if unknown
197203
*/
198204
client() {
199205
// pretty format sync client user agent

0 commit comments

Comments
 (0)