jesse-rb / qolboard-spa

Re-developing the original qolboard (qolboard.com) project with a more modern approach (svelte SPA).
https://2.0.qolboard.com
MIT License
0 stars 0 forks source link

Convert to typescript #9

Open jesse-rb opened 1 year ago

jesse-rb commented 1 year ago

A bit of refactoring to use svelte with typescript for better developer experience.

jesse-rb commented 1 year ago

https://svelte.dev/blog/svelte-and-typescript Under the heading "Adding TypeScript to an existing project" will be a good start

jesse-rb commented 6 months ago

Underway in development 😃

jesse-rb commented 4 months ago

Now (in development branch) components can be converted to typescript one by one (thank goodness), so far only have

A component can begin being converted to typescript by adding lang="ts" to the opening script tag of the component (see https://github.com/jesse-rb/qolboard-spa/commit/d610bde56c6198303f1e2ef57609d687eb49f068?diff=unified&w=0#r140597961).

Any tips/suggestions around typescript conventions I'm missing would be appreciated.