mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
538 B
TypeScript
21 lines
538 B
TypeScript
// Type definitions for bootstrap-validator 0.11
|
|
// Project: https://github.com/1000hz/bootstrap-validator
|
|
// Definitions by: Brady Liles <https://github.com/BradyLiles/>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="jquery"/>
|
|
|
|
interface ValidatorOptions {
|
|
delay?: number;
|
|
html?: boolean;
|
|
disable?: boolean;
|
|
focus?: boolean;
|
|
feedback?: any;
|
|
custom?: any;
|
|
}
|
|
|
|
interface JQuery {
|
|
validator(options?: ValidatorOptions): JQuery;
|
|
validator(command: string): JQuery;
|
|
}
|