Files
react-native-devtools-frontend/node_modules/web-component-analyzer/lib/cjs/cli/util/cli-error.d.ts
T
Danil Somsikov 2a0e55eb29 Add web-component-analyzer explicitly first, to workaround win presubmit issue.
http://crrev.com/c/5898986 is currently failing presubmit on win bot
because command line command for clang format gets too long.

It looks like `git cl format` is running for all changes files ignoring
the .clang-format Disable-Format directive in node_modules/

Bug: 370734442
Change-Id: Ia790c5998a4d25b42f2f14efc56df26cefa540f5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5907633
Commit-Queue: Danil Somsikov <dsv@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2024-10-07 10:48:55 +00:00

12 lines
391 B
TypeScript

/**
* Make an error of kind "CLIError"
* Use this function instead of subclassing Error because of problems after transpilation.
* @param message
*/
export declare function makeCliError(message: string): Error;
/**
* Returns if an error is of kind "CLIError"
* @param error
*/
export declare function isCliError(error: unknown): error is Error;
//# sourceMappingURL=cli-error.d.ts.map