https://github.com/angular/angular
Raw File
Tip revision: 1445dba903552d457fe15cfa3a5a6c7860482805 authored by Jessica Janiuk on 30 June 2021, 20:29:51 UTC
release: cut the v12.2.0-next.1 release (#42723)
Tip revision: 1445dba
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