mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
fix jqueryui/jqueryui-tests.ts compile error
This commit is contained in:
@@ -1618,7 +1618,7 @@ function test_spinner() {
|
||||
},
|
||||
_parse: function (value) {
|
||||
if (typeof value === "string") {
|
||||
if (Number(value) == value) {
|
||||
if (Number(value) == <any>value) {
|
||||
return Number(value);
|
||||
}
|
||||
return 123;
|
||||
@@ -1822,4 +1822,4 @@ function test_widget() {
|
||||
var isDisabled = $(".selector").jQuery.Widget("option", "disabled");
|
||||
$(".selector").jQuery.Widget("option", "disabled", true);
|
||||
$(".selector").jQuery.Widget("option", { disabled: true });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user