File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
packages/angular_devkit/core/src Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 5
5
* Use of this source code is governed by an MIT-style license that can be
6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
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
+ }
10
13
11
14
12
15
// tslint:disable-next-line:no-any
Original file line number Diff line number Diff line change 5
5
* Use of this source code is governed by an MIT-style license that can be
6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
+ import { TemplateTag } from '../../utils/literals' ;
8
9
import { FileBuffer } from './interface' ;
9
10
10
11
declare const TextEncoder : {
You can’t perform that action at this time.
0 commit comments