Allow creating Meteor apps with --typescript skeleton. #10695
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Just as Meteor developers can run
they can now run
to produce a new TypeScript application, based on the
--react
application, configured using a recommendedtsconfig.json
file.This app represents the current best/simplest-known way to set up a Meteor-compatible TypeScript application, but it is still very much a work in progress. Please feel free to submit pull requests to improve it, or create issues to discuss how it should work.
For example, the community-maintained
@types/meteor
package covers all the core packages used by this starter application, but it has not been updated in a while, so there will no doubt bemeteor/*
packages with missing types. In future versions, Meteor should ideally generate the appropriate.d.ts
files from TypeScript package source code, so that no separate@types/meteor/*
declarations need to be maintained.