mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 05:20:24 +08:00
angular.d.ts — make 'scope' be any, not bool
See http://docs.angularjs.org/guide/directive: `scope` can be either `true`, or object hash which defines a set of local scope properties derived from the parent scope.
This commit is contained in:
2
angularjs/angular.d.ts
vendored
2
angularjs/angular.d.ts
vendored
@@ -646,7 +646,7 @@ declare module ng {
|
||||
replace?: bool;
|
||||
transclude?: bool;
|
||||
restrict?: string;
|
||||
scope?: bool;
|
||||
scope?: any;
|
||||
link?: Function;
|
||||
compile?: Function;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user