Open rubenthoms opened 3 years ago
In order to allow type hints, we need to convert all JavaScript files to TypeScript files. As a prerequisite, the build system must be ensured to support TypeScript. There is a promising how2 here: https://www.tutorialsteacher.com/typescript/converting-javascript-to-typescript
This has already been partly implemented in https://github.com/equinor/webviz-subsurface-components/pull/121. It appears the build system was already ready to take in .ts/.tsx files. However, this should be double-checked.
For the original issue see: https://github.com/equinor/webviz-subsurface-components/issues/77
NOTE: Components that do not need to be converted:
FYI: https://github.com/equinor/webviz-subsurface-components/issues/77#issuecomment-730372444
In order to allow type hints, we need to convert all JavaScript files to TypeScript files. As a prerequisite, the build system must be ensured to support TypeScript. There is a promising how2 here: https://www.tutorialsteacher.com/typescript/converting-javascript-to-typescript
This has already been partly implemented in https://github.com/equinor/webviz-subsurface-components/pull/121. It appears the build system was already ready to take in .ts/.tsx files. However, this should be double-checked.
For the original issue see: https://github.com/equinor/webviz-subsurface-components/issues/77
NOTE: Components that do not need to be converted: