Dynamsoft / web-twain-angular-cli-application

10 stars 10 forks source link

How to use SelectSource() with asynchronous function in angular? #3

Closed ankworld closed 4 years ago

ankworld commented 4 years ago

DWT 15.2.0

I find that SelectSource() can use with optional parameter to be async function. The example is work in JS but not in TS because it got unexpected arguments.

Tom-Dynamsoft commented 4 years ago

@ankworld That's because the type definition for the API SelectSource is not complete, I'll contact the team to get it updated asap. Thanks for your feedback