Writing a Meteor Package in Typescript

So I am working through updating the

https://atmospherejs.com/nimble/restivus

package and that includes rewriting it in Typescript. When i go to test releasing this package should i just have to add the typescript package as a dependency in package.js?

1 Like

Yes, typescript package will need to be a package dependency or your typescript code will not compile.

1 Like

ok cool, then assuming the person installing my package has the typescript package installed … they will also have a tsconfig.json file set up in their project to compile my packages code as well?

UPDATE
this documentation here is actually pretty comprehensive, thank you tho for your help
https://atmospherejs.com/meteor/typescript

1 Like

Surprisingly one of the most comprehensive README’s of any of the core packages.