Files
react-native-devtools-frontend/node_modules/@es-joy/jsdoccomment/dist/parseComment.d.ts
T
Simon Zünd aebbf4f106 [deps] Update 'eslint-plugin-jsdoc' to 46.10.1
This silences a warning because our Node engine is newer then the
package expects.

There are newer versions of the plugin by now, but the transitive
dependencies are younger than 1 week so the audit mirror blocks them.
46.10.1 seems like it was stable for a couple months so we use that.

R=alexrudenko@chromium.org

Bug: None
Change-Id: Icf1c1276852e55dcad97d2ea2eeb6a8d7a9d82ae
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5660063
Commit-Queue: Simon Zünd <szuend@chromium.org>
Auto-Submit: Simon Zünd <szuend@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
2024-06-27 09:26:18 +00:00

34 lines
1.3 KiB
TypeScript

export function hasSeeWithLink(spec: import('comment-parser').Spec): boolean;
export const defaultNoTypes: string[];
export const defaultNoNames: string[];
/**
* Can't import `comment-parser/es6/parser/tokenizers/index.js`,
* so we redefine here.
*/
export type CommentParserTokenizer = (spec: import('comment-parser').Spec) => import('comment-parser').Spec;
/**
* Can't import `comment-parser/es6/parser/tokenizers/index.js`,
* so we redefine here.
* @typedef {(spec: import('comment-parser').Spec) =>
* import('comment-parser').Spec} CommentParserTokenizer
*/
/**
* @param {object} [cfg]
* @param {string[]} [cfg.noTypes]
* @param {string[]} [cfg.noNames]
* @returns {CommentParserTokenizer[]}
*/
export function getTokenizers({ noTypes, noNames }?: {
noTypes?: string[] | undefined;
noNames?: string[] | undefined;
} | undefined): CommentParserTokenizer[];
/**
* Accepts a comment token and converts it into `comment-parser` AST.
* @param {{value: string}} commentNode
* @param {string} [indent] Whitespace
* @returns {import('./index.js').JsdocBlockWithInline}
*/
export function parseComment(commentNode: {
value: string;
}, indent?: string | undefined): import('./index.js').JsdocBlockWithInline;
//# sourceMappingURL=parseComment.d.ts.map