This is for transpilation only. it does not actually validate the typescript or perform any checks during runtime.
esm actually caused errors so there should not be any issues here