mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Merge branch 'master' of https://github.com/borisyankov/DefinitelyTyped
This commit is contained in:
Vendored
+10
-3
@@ -537,9 +537,16 @@ declare module ng {
|
||||
directive(directivesMap: any): ICompileProvider;
|
||||
}
|
||||
|
||||
interface ITemplateLinkingFunction {
|
||||
interface ICloneAttachFunction {
|
||||
// Let's hint but not force cloneAttachFn's signature
|
||||
(scope: IScope, cloneAttachFn?: (clonedElement?: JQuery, scope?: IScope) => any): JQuery;
|
||||
(clonedElement?: JQuery, scope?: IScope): any;
|
||||
}
|
||||
|
||||
interface ITemplateLinkingFunction {
|
||||
// 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;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -827,4 +834,4 @@ declare module ng {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+8
@@ -185,6 +185,8 @@ declare module JQueryUI {
|
||||
title?: string;
|
||||
width?: any; // number or string
|
||||
zIndex?: number;
|
||||
|
||||
close?: DialogEvent;
|
||||
}
|
||||
|
||||
interface DialogUIParams {
|
||||
@@ -561,9 +563,15 @@ declare module JQueryUI {
|
||||
heightStyle?: string;
|
||||
hide?: any; // boolean, number, string or object
|
||||
show?: any; // boolean, number, string or object
|
||||
|
||||
activate?: TabsEvent;
|
||||
}
|
||||
|
||||
interface TabsUIParams {
|
||||
newTab: JQuery;
|
||||
oldTab: JQuery;
|
||||
newPanel: JQuery;
|
||||
oldPanel: JQuery;
|
||||
}
|
||||
|
||||
interface TabsEvent {
|
||||
|
||||
Reference in New Issue
Block a user