Skip to content

refactor: Move Code to Typescript #267

@wuda-io

Description

@wuda-io

For cleaner development and also to go with the time it is greatly apprecaiated to move the Codebase to TypeScript.

For consumers of Materialize everything stays the same, so no worries.
The big advantage is for developing the Framework is to have a much better codebase and also reduce the risk of errors,
since the typing system of TypeScript enhances the development experience.

The steps would be:

  1. Convert existing JS-Files to TS Files (since TS is a sub-set of JS)
  2. Setup the CI-Process to compile the TS-Files down to a single JS-File or to Components (please comment, help appreciated here)
  3. Refactor existing Code and Setup Classes, Types and interfaces as needed

I think we should compile using the ES06 Version of JavaScript.
What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildmetaIssues with the project itself or our GitHub repository.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions