mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 03:21:16 +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>
18 lines
1.0 KiB
TypeScript
18 lines
1.0 KiB
TypeScript
export default estreeToString;
|
|
export type ESTreeToStringOptions = import('./index.js').ESTreeToStringOptions;
|
|
/**
|
|
* @todo convert for use by escodegen (until may be patched to support
|
|
* custom entries?).
|
|
* @param {import('./commentParserToESTree.js').JsdocBlock|
|
|
* import('./commentParserToESTree.js').JsdocDescriptionLine|
|
|
* import('./commentParserToESTree.js').JsdocTypeLine|
|
|
* import('./commentParserToESTree.js').JsdocTag|
|
|
* import('./commentParserToESTree.js').JsdocInlineTag|
|
|
* import('jsdoc-type-pratt-parser').RootResult
|
|
* } node
|
|
* @param {ESTreeToStringOptions} opts
|
|
* @throws {Error}
|
|
* @returns {string}
|
|
*/
|
|
declare function estreeToString(node: import('./commentParserToESTree.js').JsdocBlock | import('./commentParserToESTree.js').JsdocDescriptionLine | import('./commentParserToESTree.js').JsdocTypeLine | import('./commentParserToESTree.js').JsdocTag | import('./commentParserToESTree.js').JsdocInlineTag | import('jsdoc-type-pratt-parser').RootResult, opts?: ESTreeToStringOptions): string;
|
|
//# sourceMappingURL=estreeToString.d.ts.map
|