https://github.com/angular/angular
Raw File
Tip revision: f815aa19914a8cd55dc8db2a41254248ee0b83c8 authored by Joey Perrott on 28 August 2020, 22:45:48 UTC
build: add configuration for the caretaker command (#38601)
Tip revision: f815aa1
resource_loader.ts
/**
 * @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.
 */
export class ResourceLoader {
  get(url: string): Promise<string>|string {
    return '';
  }
}
back to top