web-js icon indicating copy to clipboard operation
web-js copied to clipboard

Add all typescript types for web-js

Open mario-fehr opened this issue 3 years ago • 3 comments

closes #67

mario-fehr avatar Jan 25 '22 18:01 mario-fehr

@alexander-schranz thank you for the first review and the suggestions. This are autogenerated types from typescript compiler and just a quick starting point for me to work on. I will check the JSCodes and try to fix them, also adding the missing props and methods as soon as possible.

mario-fehr avatar Jan 26 '22 10:01 mario-fehr

@mfehr94 Do we even need the .ts files if we provide all type information over JSDocs: https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html ?

alexander-schranz avatar Jan 29 '22 14:01 alexander-schranz

@alexander-schranz good possible, I must test that and add the missing JSDocs. At the moment type script don't like the import of the web in custom JS components in my test project.

mario-fehr avatar Jan 29 '22 14:01 mario-fehr