BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
public dataStateChange(state : DataStateChangeEventArgs) {
this.orderService.execute(state).then(( gridData ) => {
if(this.grid) {
this.grid.dataSource = gridData
}
});
}
This is the error:
Types of property 'dataStateChange' are incompatible.
Type '(state: DataStateChangeEventArgs) => void' is not assignable to type 'EmitType<DataStateChangeEventArgs>'.
Type '(state: DataStateChangeEventArgs) => void' is not assignable to type '(arg?: DataStateChangeEventArgs | undefined, ...rest: any[]) => void'.
Types of parameters 'state' and 'arg' are incompatible.
Type 'DataStateChangeEventArgs | undefined' is not assignable to type 'DataStateChangeEventArgs'.
Type 'undefined' is not assignable to type 'DataStateChangeEventArgs'.