18 lines
514 B
TypeScript
Executable File
18 lines
514 B
TypeScript
Executable File
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
/**
|
|
* An interface for retrieving documents by URL that the compiler uses to
|
|
* load templates.
|
|
*
|
|
* This is an abstract class, rather than an interface, so that it can be used
|
|
* as injection token.
|
|
*/
|
|
export declare abstract class ResourceLoader {
|
|
abstract get(url: string): Promise<string> | string;
|
|
}
|