Follow-up "Add TypeScript support in webpack"
We're adding TypeScript support with gitlab-org/gitlab-ce!15264, but there are several issues that need follow-up work if we are to seriously adopt this toolset.
-
We need to configure eslint
to understand and parse our.ts
files -
We need to ensure that our code coverage tooling doesn't break when running karma -
We need to decide whether we want ts-loader
to transpile code directly to es5 or whether we have it transpile into es2015 and have babel handle the final transpile step to es5 (this would be more continuous with our current config, but would perhaps lengthen build time/complexity) -
We need to configure vue-loader
to recognize TypeScript code -
We need to add type bindings for any of our external libraries which support them -
We need to educate the team on how/where to use TypeScript going forward, and document our policy with regard to TypeScript. Is this just an experiment at the moment? Should we actively be converting code to TypeScript? Should we write new code in TypeScript?
Also, should we maybe create a typescript
label?
/cc @jschatz1