This spike explores using .ts files for modules that are exported from a package. A complication is that while Typescript 5.7 can automatically convert rewrite .ts to .js in its build output, we've so far avoided having a build stage during development. So we need a way to have .ts locally during development (without building) and for the packages in NPM to have only .js files.
refs: #5760
Description
https://github.com/Agoric/agoric-sdk/pull/10480 tries
.ts
for contracts, which are not part of a package's export surface.This spike explores using
.ts
files for modules that are exported from a package. A complication is that while Typescript 5.7 can automatically convert rewrite.ts
to.js
in its build output, we've so far avoided having a build stage during development. So we need a way to have.ts
locally during development (without building) and for the packages in NPM to have only.js
files.Security Considerations
Scaling Considerations
Documentation Considerations
Testing Considerations
Upgrade Considerations