Skip to content

Commit

Permalink
Update type definitions for ko 3.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SomaticIT committed Dec 2, 2021
1 parent 8818948 commit cdfeafa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/knockout.validation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ declare module "knockout" {
};
}

export interface Extenders {
export interface Extenders<T> {
/**
* This is for creating custom validation logic on the fly.
*
Expand Down Expand Up @@ -444,7 +444,7 @@ declare module "knockout" {
extend(requestedExtenders: validation.ValidationExtendOptions): this & validation.ObservableValidationExtension;
}

export interface ObservableExtenderOptions extends validation.ValidationExtendOptions { }
export interface ObservableExtenderOptions<T> extends validation.ValidationExtendOptions { }
}

export = ko.validation;

0 comments on commit cdfeafa

Please sign in to comment.