mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Change IDirective.transclude to be of any type
It can actually be bool or string, but TypeScript doesn't allow union types (see http://typescript.codeplex.com/workitem/120).
This commit is contained in:
2
angularjs/angular.d.ts
vendored
2
angularjs/angular.d.ts
vendored
@@ -644,7 +644,7 @@ declare module ng {
|
||||
template?: string;
|
||||
templateUrl?: string;
|
||||
replace?: bool;
|
||||
transclude?: bool;
|
||||
transclude?: any;
|
||||
restrict?: string;
|
||||
scope?: any;
|
||||
link?: Function;
|
||||
|
||||
Reference in New Issue
Block a user