We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb752a6 commit cec377aCopy full SHA for cec377a
README.md
@@ -1,2 +1,17 @@
1
# typescript-script
2
Script tag support for TypeScript
3
+
4
+## Usage
5
+Add the following lines at the bottom of your page:
6
+```html
7
+<script src="https://rawgit.com/Microsoft/TypeScript/master/bin/typescriptServices.js"></script>
8
+<script src="https://rawgit.com/basarat/typescript-script/master/transpiler.js"></script>
9
+```
10
11
+And then you can use script tags that load `.ts` files or even have `typescript` inline:
12
13
+<script type="text/typescript" src="script.ts"></script>
14
+<script type="text/typescript">
15
+ setTimeout(()=>console.log('hello'));
16
+</script>
17
0 commit comments