TypeScript in IntelliJ
IntelliJ with Bazel

TypeScript in IntelliJ

Make sure you are using IntelliJ Ultimate Edition.

Request typescript support by adding typescript to the additional_languages section. You also have to point to the rule that generated your tsconfig file using ts_config_rule.

Whenever you sync we will bazel run this target.