angular-docs-cn/modules/@angular/platform-browser/test/xhr/xhr_cache_setter.ts

4 lines
113 B
TypeScript

export function setTemplateCache(cache: any /** TODO #9100 */): void {
(<any>window).$templateCache = cache;
}