mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Change ITemplateOptions.{onClick, etc.} to union
Changed the types of the ```ITemplateOptions``` properties ```onBlur```, ```onChange```, ```onClick```, ```onFocus```, ```onKeydown```, ```onKeypress```, and ```onKeyup``` from ```TypeScript string ``` to ```TypeScript string | IExpresssionFunction ``` string | IExpresssionFunction
This commit is contained in:
Vendored
+7
-7
@@ -101,13 +101,13 @@ declare module AngularFormly {
|
||||
type?: string;
|
||||
|
||||
//expression types
|
||||
onBlur?: string;
|
||||
onChange?: string;
|
||||
onClick?: string;
|
||||
onFocus?: string;
|
||||
onKeydown?: string;
|
||||
onKeypress?: string;
|
||||
onKeyup?: string;
|
||||
onBlur?: string | IExpresssionFunction;
|
||||
onChange?: string | IExpresssionFunction;
|
||||
onClick?: string | IExpresssionFunction;
|
||||
onFocus?: string | IExpresssionFunction;
|
||||
onKeydown?: string | IExpresssionFunction;
|
||||
onKeypress?: string | IExpresssionFunction;
|
||||
onKeyup?: string | IExpresssionFunction;
|
||||
|
||||
//Bootstrap types
|
||||
label?: string;
|
||||
|
||||
Reference in New Issue
Block a user