build: upgrade to TypeScript 2.7 (#22669)
Fixes: #21571 PR Close #22669
This commit is contained in:

committed by
Kara Erickson

parent
a225b48482
commit
8449eb8d62
@ -218,7 +218,7 @@ export interface DirectiveDefArgs<T> {
|
||||
/**
|
||||
* Factory method used to create an instance of directive.
|
||||
*/
|
||||
factory: () => T | [T];
|
||||
factory: () => T | ({0: T} & any[]); /* trying to say T | [T, ...any] */
|
||||
|
||||
/**
|
||||
* Static attributes to set on host element.
|
||||
|
Reference in New Issue
Block a user