├── tasks ├── scratch.ts └── modules │ ├── templateCache.js │ ├── templateCache.ts │ ├── reference.js │ ├── html2ts.js │ ├── defaults.js │ ├── defaults.ts │ ├── cacheUtils.js │ └── reference.ts ├── test ├── html │ └── src │ │ ├── foo.ts │ │ ├── bar.ts │ │ └── test.tpl.html ├── abtest │ ├── c.ts │ ├── a.ts │ ├── b.ts │ └── reference.ts ├── htmlOutDir │ ├── src │ │ ├── foo.ts │ │ ├── bar.ts │ │ └── test.tpl.html │ └── reference.ts ├── issue_392 │ ├── app │ │ ├── 392-a.ts │ │ └── 392-a.spec.ts │ ├── typings │ │ └── 392-testtype.ts │ └── issue_392-tsconfig.json ├── simple │ ├── js │ │ ├── .baseDir.d.ts │ │ └── zoo.d.ts │ └── ts │ │ └── zoo.ts ├── work │ ├── inside │ │ ├── tada.ts │ │ ├── tada2.ts │ │ └── work3.ts │ ├── work.ts │ └── work2.ts ├── htmlOutDirFlat │ ├── src │ │ ├── foo.ts │ │ ├── bar.ts │ │ └── test.tpl.html │ └── reference.ts ├── issue_397 │ └── src │ │ ├── app │ │ └── 397-a.ts │ │ ├── typings │ │ └── 397-testtype.d.ts │ │ ├── other_typings │ │ └── 397-othertesttype.d.ts │ │ └── issue_397-tsconfig.json ├── multifile │ ├── a │ │ ├── c.ts │ │ ├── a.ts │ │ ├── b.ts │ │ └── reference.ts │ └── b │ │ ├── c.ts │ │ ├── a.ts │ │ ├── b.ts │ │ └── reference.ts ├── nocompile │ ├── c.ts │ ├── a.ts │ ├── b.ts │ └── reference.ts ├── tsconfig │ ├── otherFiles │ │ ├── other.ts │ │ ├── that.ts │ │ └── this.ts │ └── files │ │ └── validtsconfig.ts ├── bothcomments │ └── a.ts ├── issue_392_2 │ ├── app │ │ └── subfolder │ │ │ ├── test1.ts │ │ │ └── test1.spec.ts │ ├── compiled │ │ └── compiled │ │ │ └── shouldnotbefound.ts │ └── tsconfig.json ├── tsconfig_artifact │ ├── blank_tsconfig.json │ ├── empty_object_literal_tsconfig.json │ ├── extends │ │ ├── configs │ │ │ └── base.json │ │ ├── tsconfig.json │ │ └── tsconfig.nostrictnull.json │ ├── invalid_tsconfig.json │ ├── test_simple_with_out.json │ ├── test_simple_with_outFile.json │ ├── tsconfig-grunt-ts.json │ ├── tab_indent_tsconfig.json │ ├── three_spaces_indent_tsconfig.json │ ├── test_include_wildcard.json │ ├── four_spaces_indent_tsconfig.json │ ├── mixed_indent_tsconfig.json │ ├── simple_filesGlob_tsconfig.json │ ├── test_exclude_tsconfig.json │ ├── test_include_tsconfig.json │ ├── tab_indent_tsconfig.expected.json │ ├── test_simple_tsconfig.json │ ├── newlineConfigs │ │ ├── lf_newline_tsconfig.json.ts │ │ ├── mixed_newline_tsconfig.json.ts │ │ ├── crlf_newline_tsconfig.json.ts │ │ ├── lf_newline_tsconfig.expected.json.ts │ │ ├── lf_newline_tsconfig.json.js │ │ ├── mixed_newline_tsconfig.expected.json.ts │ │ ├── mixed_newline_tsconfig.json.js │ │ ├── crlf_newline_tsconfig.json.js │ │ ├── crlf_newline_tsconfig.expected.json.ts │ │ ├── lf_newline_tsconfig.expected.json.js │ │ ├── mixed_newline_tsconfig.expected.json.js │ │ └── crlf_newline_tsconfig.expected.json.js │ ├── three_spaces_indent_tsconfig.expected.json │ ├── mixed_indent_tsconfig.expected.json │ ├── four_spaces_indent_tsconfig.expected.json │ └── full_valid_tsconfig.json ├── amdtest │ ├── c.ts │ ├── a.ts │ └── b.ts ├── files_testFailedCompilation │ ├── b │ │ └── a.ts │ └── a │ │ └── syntaxError.ts ├── noEmitOnError │ └── testNoEmitOnError.ts ├── baseDirOption │ ├── baseDirSpecified │ │ └── foo │ │ │ └── bar.ts │ └── baseDirNotSpecified │ │ └── foo │ │ └── bar.ts ├── htmlTemplateGlob │ ├── test.html │ ├── doNotTranspile.html │ └── othercompilation.ts ├── referenceReplaced │ ├── referencing2.ts │ ├── referencing1.ts │ └── referenced-grunt-ts.ts ├── sourceroot │ └── src │ │ ├── a.ts │ │ ├── nested │ │ ├── b.html │ │ └── b.ts │ │ └── reference.ts ├── vsproj │ ├── ignoreFiles │ │ └── ignoreFiles_test.ts │ ├── vsprojtest2.ts │ ├── vsprojtest1.ts │ └── testproject.csproj ├── transform │ └── ts │ │ ├── foo │ │ ├── b │ │ │ ├── b1.ts │ │ │ └── b2.ts │ │ ├── a │ │ │ ├── A2.ts │ │ │ ├── A1.ts │ │ │ └── index.ts │ │ └── index.ts │ │ ├── bar │ │ └── c │ │ │ ├── c1.ts │ │ │ └── c2.ts │ │ └── rootLevel.ts ├── expected │ ├── customcompiler │ │ └── js │ │ │ └── foo.js │ ├── transform │ │ ├── ts │ │ │ ├── foo │ │ │ │ ├── b │ │ │ │ │ ├── b1.ts │ │ │ │ │ └── b2.ts │ │ │ │ ├── a │ │ │ │ │ ├── A2.ts │ │ │ │ │ ├── A1.ts │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ │ ├── bar │ │ │ │ └── c │ │ │ │ │ ├── c1.ts │ │ │ │ │ └── c2.ts │ │ │ └── rootLevel.ts │ │ └── js │ │ │ ├── foo │ │ │ ├── b │ │ │ │ ├── b1.js │ │ │ │ └── b2.js │ │ │ ├── a │ │ │ │ ├── A1.js │ │ │ │ ├── index.js │ │ │ │ └── A2.js │ │ │ └── index.js │ │ │ ├── rootLevel.js │ │ │ └── bar │ │ │ └── c │ │ │ ├── c1.js │ │ │ └── c2.js │ ├── noEmitOnError │ │ └── testNoEmitOnError_false.js │ ├── preserveConstEnums │ │ ├── test_preserveConstEnums_false.js │ │ └── test_preserveConstEnums_true.js │ ├── es6 │ │ ├── es6 │ │ │ └── stringTemplate.js │ │ └── es5 │ │ │ └── stringTemplate.js │ ├── vsproj │ │ └── ignoreSettings │ │ │ └── vsprojtest1.js │ ├── amdloader │ │ └── js │ │ │ └── app │ │ │ ├── loader.bin.js │ │ │ └── loader.js │ ├── abtest │ │ ├── reference.ts │ │ ├── out.js.map │ │ └── out.js │ ├── htmlExternal │ │ └── html.external.html.ts │ ├── suppressImplicitAnyIndexErrors │ │ └── test_suppressImplicitAnyIndexError_true.js │ ├── references-transform │ │ └── references-transform.js │ ├── fail │ │ └── ts │ │ │ └── deep │ │ │ └── work.ts │ ├── templatecache │ │ └── js │ │ │ └── templateCache.js │ ├── simple │ │ └── js │ │ │ ├── zoo.d.ts │ │ │ └── zoo.js │ ├── allowJs │ │ └── result.js │ ├── htmlSnakeModuleName │ │ └── out.js │ ├── varreplacedtest │ │ ├── grunt-ts-test.js.map │ │ └── grunt-ts-test.js │ ├── htmlTemplate │ │ └── out.js │ ├── files_ObjectFormat │ │ ├── a.js │ │ └── b.js │ ├── out with spaces │ │ └── zoo.js │ ├── simple_with_rootDir │ │ └── js │ │ │ └── ts │ │ │ └── zoo.js │ └── nestedSources │ │ └── zoo.js ├── amdloader │ ├── index.html │ └── ts │ │ ├── app │ │ ├── classa.ts │ │ ├── app.ts │ │ ├── deep │ │ │ ├── deeper │ │ │ │ └── classd.ts │ │ │ ├── classc.ts │ │ │ └── classb.ts │ │ └── reference.ts │ │ └── test │ │ ├── classt.ts │ │ ├── test.ts │ │ ├── deep │ │ ├── deeper │ │ │ └── classw.ts │ │ ├── classv.ts │ │ └── classu.ts │ │ ├── extendedAppCode.ts │ │ └── reference.ts ├── allowJs │ ├── allowJsConsumer.ts │ └── allowJsLibrary.js ├── definitelytypedtest │ ├── d.ts │ │ └── DefinitelyTyped │ │ │ └── async │ │ │ ├── async.d.key │ │ │ └── async.d.ts │ └── test.ts ├── es6 │ └── stringTemplate.ts ├── references-transform-library.d.ts ├── templatecache │ ├── index.html │ └── ts │ │ ├── classa.ts │ │ ├── app.ts │ │ ├── deep │ │ ├── classc.ts │ │ └── classb.ts │ │ └── reference.ts ├── htmlSnakeModuleName │ ├── src │ │ ├── snake-module-name.tpl.html │ │ └── foo.ts │ └── reference.ts ├── htmlTemplate │ ├── src │ │ ├── advanced.$$template.name.tpl.html │ │ └── foo.ts │ └── reference.ts ├── outdirtest │ └── ts │ │ └── source.ts ├── withwrongmodule │ └── ts │ │ ├── Foo.ts │ │ └── Main.ts ├── htmlExternal │ └── html.external.html ├── withemptymodule │ └── ts │ │ ├── Main.ts │ │ ├── Bar.ts │ │ └── Foo.ts ├── fail │ └── ts │ │ └── deep │ │ ├── fail.ts │ │ └── work.ts ├── preserveConstEnums │ └── test_preserveConstEnums.ts ├── customcompiler │ └── ts │ │ └── foo.ts ├── suppressImplicitAnyIndexErrors │ └── test_suppressImplicitAnyIndexError.ts ├── references-transform │ └── references-transform.ts ├── issue_426_baseUrl │ └── src │ │ ├── issue_426_1.tsconfig.json │ │ ├── issue_426_2.tsconfig.json │ │ └── issue_426_3.tsconfig.json ├── failontypeerror │ └── ts │ │ └── fail.ts ├── testHelpers.ts ├── testHelpers.js ├── compilerTests.js ├── compilerTests.ts ├── test.ts └── test.js ├── tasks-internal ├── scratch.ts ├── scratch.js └── modules │ ├── templateCache.ts │ ├── templateCache.js │ ├── defaults.js │ ├── defaults.ts │ ├── reference.js │ ├── reference.ts │ └── html2ts.js ├── customcompiler ├── tsc └── lib.scripthost.d.ts ├── .vscode ├── settings.json └── launch.json ├── .gitattributes ├── .travis.yml ├── defs ├── detect-newline │ └── detect-newline.d.ts ├── detect-indent │ └── detect-indent.d.ts ├── tsd.d.ts └── nodeunit │ └── nodeunit.d.ts ├── AUTHORS ├── .npmignore ├── custom.TypeScript.targets ├── sample ├── commonjs │ └── Gruntfile.js └── Gruntfile.js ├── .gitignore ├── tsd.json ├── docs ├── fast.md ├── DisableVisualStudioBuild.md ├── amdLoader.md ├── DetailedGettingStartedInstructions.md └── html2ts.md ├── .jshintrc ├── grunt-ts.sln ├── LICENSE ├── tsconfig.json ├── tslint.json └── package.json /tasks/scratch.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/html/src/foo.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tasks-internal/scratch.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/abtest/c.ts: -------------------------------------------------------------------------------- 1 | class C { } -------------------------------------------------------------------------------- /test/htmlOutDir/src/foo.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/issue_392/app/392-a.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/simple/js/.baseDir.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/work/inside/tada.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/work/inside/tada2.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/htmlOutDirFlat/src/foo.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/issue_392/app/392-a.spec.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/issue_397/src/app/397-a.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/multifile/a/c.ts: -------------------------------------------------------------------------------- 1 | class C { } -------------------------------------------------------------------------------- /test/multifile/b/c.ts: -------------------------------------------------------------------------------- 1 | class C { } -------------------------------------------------------------------------------- /test/nocompile/c.ts: -------------------------------------------------------------------------------- 1 | class C { } -------------------------------------------------------------------------------- /test/tsconfig/otherFiles/other.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tsconfig/otherFiles/that.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tsconfig/otherFiles/this.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/issue_392/typings/392-testtype.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/bothcomments/a.ts: -------------------------------------------------------------------------------- 1 | class A extends B { } -------------------------------------------------------------------------------- /test/issue_392_2/app/subfolder/test1.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tsconfig_artifact/blank_tsconfig.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/amdtest/c.ts: -------------------------------------------------------------------------------- 1 | class C { } 2 | export = C; -------------------------------------------------------------------------------- /test/issue_392_2/app/subfolder/test1.spec.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/issue_397/src/typings/397-testtype.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/files_testFailedCompilation/b/a.ts: -------------------------------------------------------------------------------- 1 | class A { } -------------------------------------------------------------------------------- /test/issue_392_2/compiled/compiled/shouldnotbefound.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/issue_397/src/other_typings/397-othertesttype.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/noEmitOnError/testNoEmitOnError.ts: -------------------------------------------------------------------------------- 1 | var x: string = 5; -------------------------------------------------------------------------------- /tasks-internal/scratch.js: -------------------------------------------------------------------------------- 1 | //# sourceMappingURL=scratch.js.map -------------------------------------------------------------------------------- /test/baseDirOption/baseDirSpecified/foo/bar.ts: -------------------------------------------------------------------------------- 1 | class Bar {} 2 | -------------------------------------------------------------------------------- /customcompiler/tsc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('./tsc.js') 3 | -------------------------------------------------------------------------------- /test/baseDirOption/baseDirNotSpecified/foo/bar.ts: -------------------------------------------------------------------------------- 1 | class Bar {} 2 | -------------------------------------------------------------------------------- /test/tsconfig_artifact/empty_object_literal_tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/htmlTemplateGlob/test.html: -------------------------------------------------------------------------------- 1 |