mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
Merge pull request #537 from nvivo/master
Fixes required for TypesScript 0.9, shouldn't affect 0.8
This commit is contained in:
Vendored
+2
-2
@@ -98,7 +98,7 @@ interface GlobalizeCultures {
|
||||
[index: number]: GlobalizeCulture;
|
||||
}
|
||||
|
||||
class GlobalizeStatic {
|
||||
interface GlobalizeStatic {
|
||||
cultures: GlobalizeCultures;
|
||||
init(cultureSelector: string);
|
||||
cultureSelector: string;
|
||||
@@ -117,4 +117,4 @@ class GlobalizeStatic {
|
||||
parseFloat(value: string, radix? , cultureSelector?: string): number;
|
||||
}
|
||||
|
||||
declare var Globalize: GlobalizeStatic;
|
||||
declare var Globalize: GlobalizeStatic;
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ interface JQueryContextMenuOptions {
|
||||
};
|
||||
callback?: (...args: any[]) => any;
|
||||
items: any;
|
||||
};
|
||||
}
|
||||
|
||||
interface JQueryStatic {
|
||||
contextMenu(options?: JQueryContextMenuOptions): JQuery;
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ interface SimplePaginationOptions {
|
||||
selectOnClick?: bool;
|
||||
onPageClick?: (interger) => void;
|
||||
onInit?: () => void;
|
||||
};
|
||||
}
|
||||
|
||||
interface JQuery {
|
||||
pagination(options?: SimplePaginationOptions): JQuery;
|
||||
|
||||
Vendored
+1
-1
@@ -390,7 +390,7 @@ interface KnockoutTemplateSources {
|
||||
|
||||
new (element: Element): KnockoutTemplateSourcesDomElement;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
//////////////////////////////////
|
||||
// nativeTemplateEngine.js
|
||||
|
||||
Reference in New Issue
Block a user