source: trip-planner-front/node_modules/@angular/compiler-cli/linker/src/fatal_linker_error.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 801 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8/// <amd-module name="@angular/compiler-cli/linker/src/fatal_linker_error" />
9/**
10 * An unrecoverable error during linking.
11 */
12export declare class FatalLinkerError extends Error {
13 node: unknown;
14 readonly type = "FatalLinkerError";
15 /**
16 * Create a new FatalLinkerError.
17 *
18 * @param node The AST node where the error occurred.
19 * @param message A description of the error.
20 */
21 constructor(node: unknown, message: string);
22}
23/**
24 * Whether the given object `e` is a FatalLinkerError.
25 */
26export declare function isFatalLinkerError(e: any): e is FatalLinkerError;
Note: See TracBrowser for help on using the repository browser.