mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-11 12:00:27 +08:00
Fixed unit tests
This commit is contained in:
1 parent
e3b1945ac8
commit
ffca112c8f
5 files changed
+23
-13
No files matched your search
+8
-7
@@ -1,4 +1,5 @@
|
||||
// Type definitions for Masked Input plugin for jQuery
|
||||
// Project: http://digitalbush.com/projects/masked-input-plugin
|
||||
// Definitions by: Lokesh Peta <https://github.com/lokeshpeta/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
@@ -17,17 +18,17 @@ interface JQueryMaskedInputOptions {
|
||||
showMaskOnFocus?: boolean;
|
||||
showMaskOnHover?: boolean;
|
||||
showToolTip?: boolean;
|
||||
isComplete?: (buffer, options) => {};
|
||||
isComplete?: (buffer: any, options: any) => {};
|
||||
numeric?: boolean;
|
||||
radixPoint?: string;
|
||||
rightAlignNumerics?: boolean;
|
||||
oncomplete?: (value?: any) => void;
|
||||
onincomplete?: () => void;
|
||||
oncleared?: () => void;
|
||||
onUnMask?: (maskedValue, unmaskedValue) => void;
|
||||
onBeforeMask?: (initialValue) => void;
|
||||
onKeyValidation?: (result) => void;
|
||||
onBeforePaste?: (pastedValue) => void;
|
||||
onUnMask?: (maskedValue: any, unmaskedValue: any) => void;
|
||||
onBeforeMask?: (initialValue: any) => void;
|
||||
onKeyValidation?: (result: any) => void;
|
||||
onBeforePaste?: (pastedValue: any) => void;
|
||||
}
|
||||
|
||||
interface MaskedInputStatic {
|
||||
@@ -41,8 +42,8 @@ interface MaskedInputStaticDefaults {
|
||||
}
|
||||
|
||||
interface MaskedInputDefaults {
|
||||
aliases;
|
||||
definitions;
|
||||
aliases: any;
|
||||
definitions: any;
|
||||
}
|
||||
|
||||
interface JQueryStatic {
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
--noImplicitAny --module commonjs --target es5
|
||||
Reference in new issue
Block a user