Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

TypeScript bundling should generate compile errors #206

Closed
OliverJAsh opened this issue Jun 19, 2015 · 8 comments
Closed

TypeScript bundling should generate compile errors #206

OliverJAsh opened this issue Jun 19, 2015 · 8 comments

Comments

@OliverJAsh
Copy link

It is my understanding that transpiling TypeScript (in the browser) does not generate compile errors (when there are any).

When bundling we should do a whole compile (different from a transpile), which will generate compile errors. Currently we transpile in the browser and when bundling.

@OliverJAsh
Copy link
Author

@chadbr
Copy link

chadbr commented Jun 20, 2015

So is there any ETA for this?

@janua
Copy link

janua commented Jun 23, 2015

This would be wonderful!

@frankwallis
Copy link
Contributor

FYI - I have added type-checking support to plugin-typescript so you are welcome to give that a try. You will need to use version 2.0.0-beta.

There is an example project there showing the configuration, and if you have any issues then please raise them on that repo. It is pretty much feature complete, I have a couple of tasks left to look at the performance/caching when run as a watch task.

@guybedford
Copy link
Member

This is also related to systemjs/systemjs#595 for ensuring that helper code is not included within the System.register wrapper.

@guybedford guybedford added this to the TypeScript Support milestone Aug 3, 2015
@guybedford
Copy link
Member

@vladima let me know if there is anything we can do here - currently syntax errors don't seem to give any warnings when compiling with TypeScript.

@OliverJAsh
Copy link
Author

By the sounds of jspm/jspm-cli#1009 (comment), this is by design?

@guybedford
Copy link
Member

The current focus for TypeScript support is via https://github.com/frankwallis/plugin-typescript which I believe gives better errors too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants