Fix return types of currentIndex and navigationLength

This commit is contained in:
Dennis Åhlin
2017-10-27 13:39:39 +02:00
parent 3e3034e6b1
commit fb6cfdd071

View File

@@ -43,7 +43,8 @@ interface Wizard {
interface JQuery {
bootstrapWizard(options?: WizardOptions): Wizard;
bootstrapWizard(method: 'next' | 'previous' | 'first' | 'last' | 'back' | 'finish' | 'finish' | 'currentIndex' | 'navigationLength'): void;
bootstrapWizard(method: 'next' | 'previous' | 'first' | 'last' | 'back' | 'finish'): void;
bootstrapWizard(method: 'currentIndex' | 'navigationLength'): number;
bootstrapWizard(method: 'show', indexOrId: number | string): void;
bootstrapWizard(method: 'enable' | 'disable' | 'display' | 'hide', index: number): void;
bootstrapWizard(method: 'remove', index: number, removeTabPane?: boolean): void;