Added jquery masked input typings

This commit is contained in:
Daniel Ferreira Monteiro Alves
2013-11-16 02:38:24 -02:00
parent d9c1467ee5
commit f263ecbe09
+24
View File
@@ -0,0 +1,24 @@
/// <reference path="../jquery/jquery.d.ts" />
interface Caret {
begin: number;
end: number;
}
interface JQuery {
caret(): Caret;
caret(begin: number, end?: number);
mask(format: string): JQuery;
unmask(): JQuery;
}
interface JQueryMaskedInputOptions {
definitions: {
[entry: string]: string;
};
}
interface JQueryStatic {
mask: JQueryMaskedInputOptions;
}