mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
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>
12 lines
391 B
TypeScript
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
|