mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-04 02:51:19 +08:00
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>
34 lines
1.3 KiB
TypeScript
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
|