|
|
|
|
|
by jaysylvester
610 days ago
|
|
I think the first request isn't all that bad. Something like: 1. Transpile .ts modules to .js on app startup (development mode only) 2. Import .js modules into citizen as it does today 3. Watch for updates to .ts files and transpile to .js 4. Watch for updates to .js files and reload the module as it does today I'm assuming you wouldn't want the transpiled JS modules sitting alongside their TS sources due to cleanliness, so I'd have to figure that part out. The second request, no idea, since I've never written a test in my life :) |
|