Add a super simple typescript example

Change-Id: I1014a889a3bb74f291a214966b32cd21e791ed7c
diff --git a/WORKSPACE b/WORKSPACE
index b1199c7..f5428db 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -407,3 +407,31 @@
         "http://www.frc971.org/Build-Dependencies/core-5.14.1-headers.zip",
     ],
 )
+
+http_archive(
+    name = "build_bazel_rules_typescript",
+    strip_prefix = "rules_typescript-0.21.0",
+    url = "https://github.com/bazelbuild/rules_typescript/archive/0.21.0.zip",
+)
+
+# Fetch our Bazel dependencies that aren't distributed on npm
+load("@build_bazel_rules_typescript//:package.bzl", "rules_typescript_dependencies")
+
+rules_typescript_dependencies()
+
+# Setup TypeScript toolchain
+load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace")
+
+ts_setup_workspace()
+
+# Setup the NodeJS toolchain
+load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories", "yarn_install")
+
+node_repositories()
+
+# Setup Bazel managed npm dependencies with the `yarn_install` rule.
+yarn_install(
+    name = "npm",
+    package_json = "//:package.json",
+    yarn_lock = "//:yarn.lock",
+)