File tree Expand file tree Collapse file tree
packages/angular_devkit/core/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 * Use of this source code is governed by an MIT-style license that can be
66 * found in the LICENSE file at https://angular.io/license
77 */
8- // tslint:disable-next-line:no-any
9- export type TemplateTag = ( template : TemplateStringsArray , ...substitutions : any [ ] ) => string ;
8+ export interface TemplateTag < R = string > {
9+ // Any is the only way here.
10+ // tslint:disable-next-line:no-any
11+ ( template : TemplateStringsArray , ...substitutions : any [ ] ) : R ;
12+ }
1013
1114
1215// tslint:disable-next-line:no-any
Original file line number Diff line number Diff line change 55 * Use of this source code is governed by an MIT-style license that can be
66 * found in the LICENSE file at https://angular.io/license
77 */
8+ import { TemplateTag } from '../../utils/literals' ;
89import { FileBuffer } from './interface' ;
910
1011declare const TextEncoder : {
You can’t perform that action at this time.
0 commit comments