diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-30 18:47:26 +0200 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-30 18:47:27 +0200 |
| commit | 0162eca15fabe21a44d053ede62c5d9ef2c2c8f1 (patch) | |
| tree | 2934ae9e290ba0901f6d6c1e004fc17af0e160fa /testdata | |
| parent | 4f00218d6d2bd6169b08e6c83cff52852e621985 (diff) | |
Allow importing of the compiled in typescript
Fixes #18.
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/import_typescript.ts | 3 | ||||
| -rw-r--r-- | testdata/import_typescript.ts.out | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/testdata/import_typescript.ts b/testdata/import_typescript.ts new file mode 100644 index 000000000..0f161ceb0 --- /dev/null +++ b/testdata/import_typescript.ts @@ -0,0 +1,3 @@ +import * as ts from "typescript"; + +console.log("typescript version", ts.version); diff --git a/testdata/import_typescript.ts.out b/testdata/import_typescript.ts.out new file mode 100644 index 000000000..0a142219b --- /dev/null +++ b/testdata/import_typescript.ts.out @@ -0,0 +1 @@ +typescript version 2.8.3 |
