In the existing WVUI library code, there is little use of TypeScript features beyond typing. As we evaluate whether to continue using Typescript (T282835), we should consider alternatives that could replicate all or most of the benefits we get from TypeScript. JSDoc may be sufficient for our needs, at least for error highlighting in the IDE.
To investigate this, we should:
- Experiment with a file or two: replace types with JSDoc equivalents and see if there's a workflow that would help us effectively catch type-related errors
- Inspect type hints on the end user side and confirm whether they're adequate compared to what we get with TypeScript