mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-13 12:22:02 +08:00
update optionality of arguments to ITemplateLinkingFunction
This commit is contained in:
1 parent
6529304f92
commit
90cf96b451
1 file changed
+3
-1
Vendored
+3
-1
@@ -543,7 +543,9 @@ declare module ng {
|
||||
}
|
||||
|
||||
interface ITemplateLinkingFunction {
|
||||
(scope?: IScope, cloneAttachFn?: ICloneAttachFunction): JQuery;
|
||||
// If the scope is provided, then the cloneAttachFn must be as well.
|
||||
(scope: IScope, cloneAttachFn: ICloneAttachFunction): JQuery;
|
||||
// If one argument is provided, then it's assumed to be the cloneAttachFn.
|
||||
(cloneAttachFn?: ICloneAttachFunction): JQuery;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user