mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Update angular.d.ts
remove unnecessary restriction on directive's `link` callback to accept optional parameters
This commit is contained in:
6
angularjs/angular.d.ts
vendored
6
angularjs/angular.d.ts
vendored
@@ -1001,9 +1001,9 @@ declare module ng {
|
||||
link?:
|
||||
(scope: IScope,
|
||||
instanceElement: IAugmentedJQuery,
|
||||
instanceAttributes?: IAttributes,
|
||||
controller?: any,
|
||||
transclude?: ITranscludeFunction
|
||||
instanceAttributes: IAttributes,
|
||||
controller: any,
|
||||
transclude: ITranscludeFunction
|
||||
) => void;
|
||||
name?: string;
|
||||
priority?: number;
|
||||
|
||||
Reference in New Issue
Block a user