├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .github ├── FUNDING.yml └── workflows │ └── gh-pages.yml ├── .gitignore ├── .lintmdrc ├── .npmrc ├── .prettierignore ├── .prettierrc.js ├── .vscode └── settings.json ├── README.md ├── TypeScript 入门教程 2020.epub ├── TypeScript 入门教程.epub ├── advanced ├── README.md ├── class-and-interfaces.md ├── class.md ├── declaration-merging.md ├── decorator.md ├── enum.md ├── further-reading.md ├── generics.md ├── string-literal-types.md ├── tuple.md └── type-aliases.md ├── assets ├── alipay.jpg ├── join-qq.jpg ├── join-wechat.jpg ├── vscode-output-eslint.png ├── wechat.jpg ├── what-is-typescript-react.png ├── what-is-typescript-vscode.png ├── what-is-typescript-vue.png ├── why-typescript-airbnb.png ├── why-typescript-bugs.png └── why-typescript-tip.png ├── basics ├── README.md ├── any.md ├── built-in-objects.md ├── declaration-files.md ├── primitive-data-types.md ├── type-assertion.md ├── type-inference.md ├── type-of-array.md ├── type-of-function.md ├── type-of-object-interfaces.md └── union-types.md ├── engineering ├── README.md ├── compiler-options.md └── lint.md ├── examples ├── compiler-options │ ├── 01-allowJs │ │ ├── false │ │ │ ├── lib │ │ │ │ └── index.js │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── foo.js │ │ │ │ └── index.ts │ │ │ └── tsconfig.json │ │ └── true │ │ │ ├── lib │ │ │ ├── foo.js │ │ │ └── index.js │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── foo.js │ │ │ └── index.ts │ │ │ └── tsconfig.json │ └── 02-allowSyntheticDefaultImports │ │ ├── false │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ │ └── true │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── src │ │ └── index.ts │ │ └── tsconfig.json └── declaration-files │ ├── 01-jquery │ ├── src │ │ └── index.ts │ └── tsconfig.json │ ├── 02-declare-var │ ├── src │ │ └── index.ts │ └── tsconfig.json │ ├── 03-jquery-d-ts │ ├── src │ │ ├── index.ts │ │ └── jQuery.d.ts │ └── tsconfig.json │ ├── 04-declare-const-jquery │ ├── src │ │ ├── index.ts │ │ └── jQuery.d.ts │ └── tsconfig.json │ ├── 05-declare-jquery-value │ ├── src │ │ └── jQuery.d.ts │ └── tsconfig.json │ ├── 06-declare-function │ ├── src │ │ ├── index.ts │ │ └── jQuery.d.ts │ └── tsconfig.json │ ├── 07-declare-class │ ├── src │ │ ├── Animal.d.ts │ │ └── index.ts │ └── tsconfig.json │ ├── 08-declare-enum │ ├── src │ │ ├── Directions.d.ts │ │ └── index.ts │ └── tsconfig.json │ ├── 09-declare-namespace │ ├── src │ │ ├── index.ts │ │ └── jQuery.d.ts │ └── tsconfig.json │ ├── 10-declare-namespace-nesting │ ├── src │ │ ├── index.ts │ │ └── jQuery.d.ts │ └── tsconfig.json │ ├── 11-declare-namespace-dot │ ├── src │ │ ├── index.ts │ │ └── jQuery.d.ts │ └── tsconfig.json │ ├── 12-interface │ ├── src │ │ ├── index.ts │ │ └── jQuery.d.ts │ └── tsconfig.json │ ├── 13-avoid-name-conflict │ ├── src │ │ ├── index.ts │ │ └── jQuery.d.ts │ └── tsconfig.json │ ├── 14-declaration-merging │ ├── src │ │ ├── index.ts │ │ └── jQuery.d.ts │ └── tsconfig.json │ ├── 15-export │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── foo │ │ └── index.d.ts │ ├── 16-declare-and-export │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── foo │ │ └── index.d.ts │ ├── 17-export-namespace │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── foo │ │ └── index.d.ts │ ├── 18-export-default │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── foo │ │ └── index.d.ts │ ├── 19-export-default-enum-error │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── foo │ │ └── index.d.ts │ ├── 20-export-default-enum │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── foo │ │ └── index.d.ts │ ├── 21-export-equal │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── foo │ │ └── index.d.ts │ ├── 22-export-as-namespace │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── foo │ │ └── index.d.ts │ ├── 23-merge-global-interface │ ├── src │ │ └── index.ts │ └── tsconfig.json │ ├── 24-merge-global-namespace │ ├── package-lock.json │ ├── package.json │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── jquery-plugin │ │ └── index.d.ts │ ├── 25-declare-global │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── foo │ │ └── index.d.ts │ ├── 26-declare-module │ ├── package-lock.json │ ├── package.json │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── moment-plugin │ │ └── index.d.ts │ ├── 27-multiple-declare-module │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── foo-bar.d.ts │ ├── 28-triple-slash-directives │ ├── package-lock.json │ ├── package.json │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── jquery-plugin │ │ └── index.d.ts │ ├── 29-triple-slash-directives-global │ ├── package-lock.json │ ├── package.json │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── types │ │ └── node-plugin │ │ └── index.d.ts │ └── 30-auto-d-ts │ ├── lib │ ├── bar │ │ ├── index.d.ts │ │ └── index.js │ ├── index.d.ts │ └── index.js │ ├── package-lock.json │ ├── package.json │ ├── src │ ├── bar │ │ └── index.ts │ └── index.ts │ └── tsconfig.json ├── favicon.png ├── introduction ├── README.md ├── get-typescript.md ├── hello-typescript.md ├── what-is-typescript.md └── why-typescript.md ├── package.json ├── pagic.config.tsx ├── pandoc-cover.jpg ├── pandoc-list.txt ├── pandoc-metadata.txt ├── pnpm-lock.yaml └── thanks └── README.md /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | *.d.ts 2 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/gh-pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/.github/workflows/gh-pages.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | dist 4 | -------------------------------------------------------------------------------- /.lintmdrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/.lintmdrc -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/README.md -------------------------------------------------------------------------------- /TypeScript 入门教程 2020.epub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/TypeScript 入门教程 2020.epub -------------------------------------------------------------------------------- /TypeScript 入门教程.epub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/TypeScript 入门教程.epub -------------------------------------------------------------------------------- /advanced/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/advanced/README.md -------------------------------------------------------------------------------- /advanced/class-and-interfaces.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/advanced/class-and-interfaces.md -------------------------------------------------------------------------------- /advanced/class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/advanced/class.md -------------------------------------------------------------------------------- /advanced/declaration-merging.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/advanced/declaration-merging.md -------------------------------------------------------------------------------- /advanced/decorator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/advanced/decorator.md -------------------------------------------------------------------------------- /advanced/enum.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/advanced/enum.md -------------------------------------------------------------------------------- /advanced/further-reading.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/advanced/further-reading.md -------------------------------------------------------------------------------- /advanced/generics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/advanced/generics.md -------------------------------------------------------------------------------- /advanced/string-literal-types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/advanced/string-literal-types.md -------------------------------------------------------------------------------- /advanced/tuple.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/advanced/tuple.md -------------------------------------------------------------------------------- /advanced/type-aliases.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/advanced/type-aliases.md -------------------------------------------------------------------------------- /assets/alipay.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/assets/alipay.jpg -------------------------------------------------------------------------------- /assets/join-qq.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/assets/join-qq.jpg -------------------------------------------------------------------------------- /assets/join-wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/assets/join-wechat.jpg -------------------------------------------------------------------------------- /assets/vscode-output-eslint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/assets/vscode-output-eslint.png -------------------------------------------------------------------------------- /assets/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/assets/wechat.jpg -------------------------------------------------------------------------------- /assets/what-is-typescript-react.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/assets/what-is-typescript-react.png -------------------------------------------------------------------------------- /assets/what-is-typescript-vscode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/assets/what-is-typescript-vscode.png -------------------------------------------------------------------------------- /assets/what-is-typescript-vue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/assets/what-is-typescript-vue.png -------------------------------------------------------------------------------- /assets/why-typescript-airbnb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/assets/why-typescript-airbnb.png -------------------------------------------------------------------------------- /assets/why-typescript-bugs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/assets/why-typescript-bugs.png -------------------------------------------------------------------------------- /assets/why-typescript-tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/assets/why-typescript-tip.png -------------------------------------------------------------------------------- /basics/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/basics/README.md -------------------------------------------------------------------------------- /basics/any.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/basics/any.md -------------------------------------------------------------------------------- /basics/built-in-objects.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/basics/built-in-objects.md -------------------------------------------------------------------------------- /basics/declaration-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/basics/declaration-files.md -------------------------------------------------------------------------------- /basics/primitive-data-types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/basics/primitive-data-types.md -------------------------------------------------------------------------------- /basics/type-assertion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/basics/type-assertion.md -------------------------------------------------------------------------------- /basics/type-inference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/basics/type-inference.md -------------------------------------------------------------------------------- /basics/type-of-array.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/basics/type-of-array.md -------------------------------------------------------------------------------- /basics/type-of-function.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/basics/type-of-function.md -------------------------------------------------------------------------------- /basics/type-of-object-interfaces.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/basics/type-of-object-interfaces.md -------------------------------------------------------------------------------- /basics/union-types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/basics/union-types.md -------------------------------------------------------------------------------- /engineering/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/engineering/README.md -------------------------------------------------------------------------------- /engineering/compiler-options.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/engineering/compiler-options.md -------------------------------------------------------------------------------- /engineering/lint.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/engineering/lint.md -------------------------------------------------------------------------------- /examples/compiler-options/01-allowJs/false/lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/01-allowJs/false/lib/index.js -------------------------------------------------------------------------------- /examples/compiler-options/01-allowJs/false/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/01-allowJs/false/package.json -------------------------------------------------------------------------------- /examples/compiler-options/01-allowJs/false/src/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/01-allowJs/false/src/foo.js -------------------------------------------------------------------------------- /examples/compiler-options/01-allowJs/false/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/01-allowJs/false/src/index.ts -------------------------------------------------------------------------------- /examples/compiler-options/01-allowJs/false/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/01-allowJs/false/tsconfig.json -------------------------------------------------------------------------------- /examples/compiler-options/01-allowJs/true/lib/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/01-allowJs/true/lib/foo.js -------------------------------------------------------------------------------- /examples/compiler-options/01-allowJs/true/lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/01-allowJs/true/lib/index.js -------------------------------------------------------------------------------- /examples/compiler-options/01-allowJs/true/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/01-allowJs/true/package.json -------------------------------------------------------------------------------- /examples/compiler-options/01-allowJs/true/src/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/01-allowJs/true/src/foo.js -------------------------------------------------------------------------------- /examples/compiler-options/01-allowJs/true/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/01-allowJs/true/src/index.ts -------------------------------------------------------------------------------- /examples/compiler-options/01-allowJs/true/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/01-allowJs/true/tsconfig.json -------------------------------------------------------------------------------- /examples/compiler-options/02-allowSyntheticDefaultImports/false/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/02-allowSyntheticDefaultImports/false/package-lock.json -------------------------------------------------------------------------------- /examples/compiler-options/02-allowSyntheticDefaultImports/false/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/02-allowSyntheticDefaultImports/false/package.json -------------------------------------------------------------------------------- /examples/compiler-options/02-allowSyntheticDefaultImports/false/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/02-allowSyntheticDefaultImports/false/src/index.ts -------------------------------------------------------------------------------- /examples/compiler-options/02-allowSyntheticDefaultImports/false/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/02-allowSyntheticDefaultImports/false/tsconfig.json -------------------------------------------------------------------------------- /examples/compiler-options/02-allowSyntheticDefaultImports/true/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/02-allowSyntheticDefaultImports/true/package-lock.json -------------------------------------------------------------------------------- /examples/compiler-options/02-allowSyntheticDefaultImports/true/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/02-allowSyntheticDefaultImports/true/package.json -------------------------------------------------------------------------------- /examples/compiler-options/02-allowSyntheticDefaultImports/true/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/02-allowSyntheticDefaultImports/true/src/index.ts -------------------------------------------------------------------------------- /examples/compiler-options/02-allowSyntheticDefaultImports/true/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/compiler-options/02-allowSyntheticDefaultImports/true/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/01-jquery/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/01-jquery/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/01-jquery/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/02-declare-var/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/02-declare-var/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/02-declare-var/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/03-jquery-d-ts/src/index.ts: -------------------------------------------------------------------------------- 1 | // src/index.ts 2 | 3 | jQuery('#foo'); 4 | -------------------------------------------------------------------------------- /examples/declaration-files/03-jquery-d-ts/src/jQuery.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/03-jquery-d-ts/src/jQuery.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/03-jquery-d-ts/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/03-jquery-d-ts/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/04-declare-const-jquery/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/04-declare-const-jquery/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/04-declare-const-jquery/src/jQuery.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/04-declare-const-jquery/src/jQuery.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/04-declare-const-jquery/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/05-declare-jquery-value/src/jQuery.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/05-declare-jquery-value/src/jQuery.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/05-declare-jquery-value/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/06-declare-function/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/06-declare-function/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/06-declare-function/src/jQuery.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/06-declare-function/src/jQuery.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/06-declare-function/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/07-declare-class/src/Animal.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/07-declare-class/src/Animal.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/07-declare-class/src/index.ts: -------------------------------------------------------------------------------- 1 | // src/index.ts 2 | 3 | let cat = new Animal('Tom'); 4 | -------------------------------------------------------------------------------- /examples/declaration-files/07-declare-class/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/08-declare-enum/src/Directions.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/08-declare-enum/src/Directions.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/08-declare-enum/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/08-declare-enum/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/08-declare-enum/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/09-declare-namespace/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/09-declare-namespace/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/09-declare-namespace/src/jQuery.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/09-declare-namespace/src/jQuery.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/09-declare-namespace/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/10-declare-namespace-nesting/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/10-declare-namespace-nesting/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/10-declare-namespace-nesting/src/jQuery.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/10-declare-namespace-nesting/src/jQuery.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/10-declare-namespace-nesting/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/11-declare-namespace-dot/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/11-declare-namespace-dot/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/11-declare-namespace-dot/src/jQuery.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/11-declare-namespace-dot/src/jQuery.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/11-declare-namespace-dot/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/12-interface/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/12-interface/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/12-interface/src/jQuery.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/12-interface/src/jQuery.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/12-interface/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/13-avoid-name-conflict/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/13-avoid-name-conflict/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/13-avoid-name-conflict/src/jQuery.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/13-avoid-name-conflict/src/jQuery.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/13-avoid-name-conflict/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/14-declaration-merging/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/14-declaration-merging/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/14-declaration-merging/src/jQuery.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/14-declaration-merging/src/jQuery.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/14-declaration-merging/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/15-export/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/15-export/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/15-export/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/15-export/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/15-export/types/foo/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/15-export/types/foo/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/16-declare-and-export/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/16-declare-and-export/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/16-declare-and-export/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/16-declare-and-export/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/16-declare-and-export/types/foo/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/16-declare-and-export/types/foo/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/17-export-namespace/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/17-export-namespace/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/17-export-namespace/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/17-export-namespace/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/17-export-namespace/types/foo/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/17-export-namespace/types/foo/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/18-export-default/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/18-export-default/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/18-export-default/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/18-export-default/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/18-export-default/types/foo/index.d.ts: -------------------------------------------------------------------------------- 1 | // types/foo/index.d.ts 2 | 3 | export default function foo(): string; 4 | -------------------------------------------------------------------------------- /examples/declaration-files/19-export-default-enum-error/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/19-export-default-enum-error/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/19-export-default-enum-error/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/19-export-default-enum-error/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/19-export-default-enum-error/types/foo/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/19-export-default-enum-error/types/foo/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/20-export-default-enum/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/20-export-default-enum/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/20-export-default-enum/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/20-export-default-enum/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/20-export-default-enum/types/foo/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/20-export-default-enum/types/foo/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/21-export-equal/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/21-export-equal/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/21-export-equal/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/21-export-equal/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/21-export-equal/types/foo/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/21-export-equal/types/foo/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/22-export-as-namespace/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/22-export-as-namespace/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/22-export-as-namespace/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/22-export-as-namespace/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/22-export-as-namespace/types/foo/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/22-export-as-namespace/types/foo/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/23-merge-global-interface/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/23-merge-global-interface/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/23-merge-global-interface/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/declaration-files/24-merge-global-namespace/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/24-merge-global-namespace/package-lock.json -------------------------------------------------------------------------------- /examples/declaration-files/24-merge-global-namespace/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/24-merge-global-namespace/package.json -------------------------------------------------------------------------------- /examples/declaration-files/24-merge-global-namespace/src/index.ts: -------------------------------------------------------------------------------- 1 | // src/index.ts 2 | 3 | jQuery.foo({ 4 | bar: '' 5 | }); 6 | -------------------------------------------------------------------------------- /examples/declaration-files/24-merge-global-namespace/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/24-merge-global-namespace/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/24-merge-global-namespace/types/jquery-plugin/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/24-merge-global-namespace/types/jquery-plugin/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/25-declare-global/src/index.ts: -------------------------------------------------------------------------------- 1 | // src/index.ts 2 | 3 | 'foo'.prependHello(); 4 | -------------------------------------------------------------------------------- /examples/declaration-files/25-declare-global/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/25-declare-global/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/25-declare-global/types/foo/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/25-declare-global/types/foo/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/26-declare-module/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/26-declare-module/package-lock.json -------------------------------------------------------------------------------- /examples/declaration-files/26-declare-module/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/26-declare-module/package.json -------------------------------------------------------------------------------- /examples/declaration-files/26-declare-module/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/26-declare-module/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/26-declare-module/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/26-declare-module/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/26-declare-module/types/moment-plugin/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/26-declare-module/types/moment-plugin/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/27-multiple-declare-module/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/27-multiple-declare-module/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/27-multiple-declare-module/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/27-multiple-declare-module/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/27-multiple-declare-module/types/foo-bar.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/27-multiple-declare-module/types/foo-bar.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/28-triple-slash-directives/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/28-triple-slash-directives/package-lock.json -------------------------------------------------------------------------------- /examples/declaration-files/28-triple-slash-directives/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/28-triple-slash-directives/package.json -------------------------------------------------------------------------------- /examples/declaration-files/28-triple-slash-directives/src/index.ts: -------------------------------------------------------------------------------- 1 | // src/index.ts 2 | 3 | foo({}); 4 | -------------------------------------------------------------------------------- /examples/declaration-files/28-triple-slash-directives/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/28-triple-slash-directives/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/28-triple-slash-directives/types/jquery-plugin/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/28-triple-slash-directives/types/jquery-plugin/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/29-triple-slash-directives-global/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/29-triple-slash-directives-global/package-lock.json -------------------------------------------------------------------------------- /examples/declaration-files/29-triple-slash-directives-global/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/29-triple-slash-directives-global/package.json -------------------------------------------------------------------------------- /examples/declaration-files/29-triple-slash-directives-global/src/index.ts: -------------------------------------------------------------------------------- 1 | // src/index.ts 2 | 3 | import { foo } from 'node-plugin'; 4 | 5 | foo(global.process); 6 | -------------------------------------------------------------------------------- /examples/declaration-files/29-triple-slash-directives-global/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/29-triple-slash-directives-global/tsconfig.json -------------------------------------------------------------------------------- /examples/declaration-files/29-triple-slash-directives-global/types/node-plugin/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/29-triple-slash-directives-global/types/node-plugin/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/30-auto-d-ts/lib/bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare function bar(): string; 2 | //# sourceMappingURL=index.d.ts.map 3 | -------------------------------------------------------------------------------- /examples/declaration-files/30-auto-d-ts/lib/bar/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/30-auto-d-ts/lib/bar/index.js -------------------------------------------------------------------------------- /examples/declaration-files/30-auto-d-ts/lib/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/30-auto-d-ts/lib/index.d.ts -------------------------------------------------------------------------------- /examples/declaration-files/30-auto-d-ts/lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/30-auto-d-ts/lib/index.js -------------------------------------------------------------------------------- /examples/declaration-files/30-auto-d-ts/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/30-auto-d-ts/package-lock.json -------------------------------------------------------------------------------- /examples/declaration-files/30-auto-d-ts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/30-auto-d-ts/package.json -------------------------------------------------------------------------------- /examples/declaration-files/30-auto-d-ts/src/bar/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/30-auto-d-ts/src/bar/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/30-auto-d-ts/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/30-auto-d-ts/src/index.ts -------------------------------------------------------------------------------- /examples/declaration-files/30-auto-d-ts/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/examples/declaration-files/30-auto-d-ts/tsconfig.json -------------------------------------------------------------------------------- /favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/favicon.png -------------------------------------------------------------------------------- /introduction/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/introduction/README.md -------------------------------------------------------------------------------- /introduction/get-typescript.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/introduction/get-typescript.md -------------------------------------------------------------------------------- /introduction/hello-typescript.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/introduction/hello-typescript.md -------------------------------------------------------------------------------- /introduction/what-is-typescript.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/introduction/what-is-typescript.md -------------------------------------------------------------------------------- /introduction/why-typescript.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/introduction/why-typescript.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/package.json -------------------------------------------------------------------------------- /pagic.config.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/pagic.config.tsx -------------------------------------------------------------------------------- /pandoc-cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/pandoc-cover.jpg -------------------------------------------------------------------------------- /pandoc-list.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/pandoc-list.txt -------------------------------------------------------------------------------- /pandoc-metadata.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/pandoc-metadata.txt -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /thanks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcatliu/typescript-tutorial/HEAD/thanks/README.md --------------------------------------------------------------------------------