CeetronSolutions / webviz-subsurface-components

Custom subsurface visualizations for use in Webviz and/or Dash.
https://github.com/orgs/equinor/projects/24
Mozilla Public License 2.0
0 stars 0 forks source link

Check if build system allows conversion of JavaScript to TypeScript files #1

Open rubenthoms opened 3 years ago

rubenthoms commented 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:

anders-kiaer commented 3 years ago

FYI: https://github.com/equinor/webviz-subsurface-components/issues/77#issuecomment-730372444