diff --git a/packages/token-list/src/index.js b/packages/token-list/src/index.js index eaa5e892ddf1c6..41f84b47fcc926 100644 --- a/packages/token-list/src/index.js +++ b/packages/token-list/src/index.js @@ -19,14 +19,17 @@ export default class TokenList { // Disable reason: These are type hints on the class. /* eslint-disable no-unused-expressions */ - /** @type string */ + /** @type {string} */ this._currentValue; - /** @type string[] */ + /** @type {string[]} */ this._valueAsArray; /* eslint-enable no-unused-expressions */ } + // Disable reason: JSDoc lint doesn't understand TypeScript types + /* eslint-disable jsdoc/valid-types */ + /** * @param {Parameters['entries']>} args */ @@ -55,6 +58,8 @@ export default class TokenList { return this._valueAsArray.values( ...args ); } + /* eslint-enable jsdoc/valid-types */ + /** * Returns the associated set as string. *