Commit b20fccdd authored by Robert Knight's avatar Robert Knight

Standardize on `@prop` over `@property`

parent af13d549
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
* specific user) or `'group'` (for a group). * specific user) or `'group'` (for a group).
* *
* @typedef Permissions * @typedef Permissions
* @property {string[]} read - List of principals that can read the annotation * @prop {string[]} read - List of principals that can read the annotation
* @property {string[]} update - List of principals that can edit the annotation * @prop {string[]} update - List of principals that can edit the annotation
* @property {string[]} delete - List of principals that can delete the * @prop {string[]} delete - List of principals that can delete the
* annotation * annotation
*/ */
......
...@@ -8,7 +8,7 @@ import { resolve } from '../util/url'; ...@@ -8,7 +8,7 @@ import { resolve } from '../util/url';
* @typedef {import('../util/oauth-client').TokenInfo} TokenInfo * @typedef {import('../util/oauth-client').TokenInfo} TokenInfo
* *
* @typedef RefreshOptions * @typedef RefreshOptions
* @property {boolean} persist - True if access tokens should be persisted for * @prop {boolean} persist - True if access tokens should be persisted for
* use in future sessions. * use in future sessions.
*/ */
......
...@@ -2,9 +2,9 @@ import escapeStringRegexp from 'escape-string-regexp'; ...@@ -2,9 +2,9 @@ import escapeStringRegexp from 'escape-string-regexp';
/** /**
* @typedef Tag * @typedef Tag
* @property {string} text - The label of the tag * @prop {string} text - The label of the tag
* @property {number} count - The number of times this tag has been used. * @prop {number} count - The number of times this tag has been used.
* @property {number} updated - The timestamp when this tag was last used. * @prop {number} updated - The timestamp when this tag was last used.
*/ */
const TAGS_LIST_KEY = 'hypothesis.user.tags.list'; const TAGS_LIST_KEY = 'hypothesis.user.tags.list';
......
...@@ -173,8 +173,8 @@ export function oldReply() { ...@@ -173,8 +173,8 @@ export function oldReply() {
/** /**
* @typedef ModerationState * @typedef ModerationState
* @property {boolean} hidden * @prop {boolean} hidden
* @property {number} flagCount * @prop {number} flagCount
*/ */
/** /**
......
...@@ -120,8 +120,8 @@ export function toObject(searchText) { ...@@ -120,8 +120,8 @@ export function toObject(searchText) {
/** /**
* @typedef Facet * @typedef Facet
* @property {'and'|'or'} operator * @prop {'and'|'or'} operator
* @property {string[]|number[]} terms * @prop {string[]|number[]} terms
*/ */
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment