Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
854 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/file_linker/get_source_file" />
|
---|
9 | import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
|
---|
10 | import { SourceFile, SourceFileLoader } from '../../../src/ngtsc/sourcemaps';
|
---|
11 | /**
|
---|
12 | * A function that will return a `SourceFile` object (or null) for the current file being linked.
|
---|
13 | */
|
---|
14 | export declare type GetSourceFileFn = () => SourceFile | null;
|
---|
15 | /**
|
---|
16 | * Create a `GetSourceFileFn` that will return the `SourceFile` being linked or `null`, if not
|
---|
17 | * available.
|
---|
18 | */
|
---|
19 | export declare function createGetSourceFile(sourceUrl: AbsoluteFsPath, code: string, loader: SourceFileLoader | null): GetSourceFileFn;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.