Commit b20fccdd authored by Robert Knight's avatar Robert Knight

Standardize on `@prop` over `@property`

parent af13d549
......@@ -8,9 +8,9 @@
* specific user) or `'group'` (for a group).
*
* @typedef Permissions
* @property {string[]} read - List of principals that can read the annotation
* @property {string[]} update - List of principals that can edit the annotation
* @property {string[]} delete - List of principals that can delete the
* @prop {string[]} read - List of principals that can read the annotation
* @prop {string[]} update - List of principals that can edit the annotation
* @prop {string[]} delete - List of principals that can delete the
* annotation
*/
......
......@@ -8,7 +8,7 @@ import { resolve } from '../util/url';
* @typedef {import('../util/oauth-client').TokenInfo} TokenInfo
*
* @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.
*/
......
......@@ -2,9 +2,9 @@ import escapeStringRegexp from 'escape-string-regexp';
/**
* @typedef Tag
* @property {string} text - The label of the tag
* @property {number} count - The number of times this tag has been used.
* @property {number} updated - The timestamp when this tag was last used.
* @prop {string} text - The label of the tag
* @prop {number} count - The number of times this tag has been used.
* @prop {number} updated - The timestamp when this tag was last used.
*/
const TAGS_LIST_KEY = 'hypothesis.user.tags.list';
......
......@@ -173,8 +173,8 @@ export function oldReply() {
/**
* @typedef ModerationState
* @property {boolean} hidden
* @property {number} flagCount
* @prop {boolean} hidden
* @prop {number} flagCount
*/
/**
......
......@@ -120,8 +120,8 @@ export function toObject(searchText) {
/**
* @typedef Facet
* @property {'and'|'or'} operator
* @property {string[]|number[]} terms
* @prop {'and'|'or'} operator
* @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