[
https://issues.apache.org/jira/browse/UNOMI-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Serge Huber updated UNOMI-1036:
-------------------------------
Fix Version/s: unomi-tracker-2.1.0
> Tracker: convert the source to TypeScript
> -----------------------------------------
>
> Key: UNOMI-1036
> URL: https://issues.apache.org/jira/browse/UNOMI-1036
> Project: Apache Unomi
> Issue Type: Sub-task
> Components: unomi-tracker
> Reporter: Serge Huber
> Priority: Major
> Fix For: unomi-tracker-2.1.0
>
>
> The tracker is already type-checked: it is JavaScript with type comments,
> checked in strict mode. Moving to TypeScript makes the code easier to read
> and to work on, without changing the code websites load.
> * Only TypeScript syntax that compiles away completely, as erasableSyntaxOnly
> in tsconfig.json already requires (no enum, namespace or parameter
> properties), so the generated JavaScript stays the same.
> * The published types (dist/*.d.ts) stay compatible; test/types keeps
> compiling the documented configurations.
> * The build compiles TypeScript (@babel/preset-typescript or
> @rollup/plugin-typescript), after the rollup 4 upgrade.
> * Easier after the module split, one module at a time.
> Done when the compatibility harness shows no difference.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)