intro-to-typescript:带有“TypeScript 简介”课程的片段和示例的示例 TypeScript 项目

时间:2021-06-24 03:16:54
【文件属性】:
文件名称:intro-to-typescript:带有“TypeScript 简介”课程的片段和示例的示例 TypeScript 项目
文件大小:30KB
文件格式:ZIP
更新时间:2021-06-24 03:16:54
TypeScript #TypeScript 入门 ##我们将涵盖的内容 概述 / 什么是 TypeScript? 类型注释 接口 班级 模块 职能 #概述 / 什么是 TypeScript? ##不是一种新语言 ###基于 ES6 TypeScript 不是一种新语言,而是基于 ECMA Script 6 提案。 它旨在向 JavaScript 添加可以在编译时检查的类型注释。 ###Superset TypeScript 是 JavaScript 的超集。 这意味着所有JavaScript 都是有效的 TypeScript。 事实上,如果您今天想开始使用 TypeScript,那么您只需将所有.js文件更改为.ts ,一切都会编译得很好。 ###Transpiled TypeScript 被编译(或转译)为特定版本的 JavaScript。 您可以针对 ES5、ES3 以及 TypeScript
【文件预览】:
intro-to-typescript-master
----index.html(302B)
----javascript-classical-inheritance.ts(608B)
----web.config(343B)
----interfaces-array-types.ts(358B)
----functions-optional-parameters.ts(238B)
----es6-features-snippet.ts(257B)
----functions-function-types.ts(349B)
----functions-javascript-this-pointer.ts(862B)
----modules-exporting.ts(157B)
----functions-lambda-expressions.ts(370B)
----classes-typescript-properties.ts(697B)
----modules-extending.ts(246B)
----modules-basic-module.ts(64B)
----IntroTypeScriptExamples.sln(992B)
----sample.ts(189B)
----simple-type-snippet.ts(653B)
----interfaces-extending.ts(501B)
----LICENSE(1KB)
----functions-default-parameters.ts(183B)
----union-types.ts(357B)
----IntroTypeScriptExamples.csproj(5KB)
----functions-generics.ts(869B)
----README.md(30KB)
----classes-parameter-properties.ts(319B)
----functions-javascript-rest-parameters.ts(271B)
----modules-multiple-files-app.ts(86B)
----app.css(87B)
----type-alias.ts(439B)
----basic-interface.ts(469B)
----functions-rest-parameters.ts(239B)
----modules-naming-collision.ts(262B)
----duck-typing.ts(233B)
----web.Release.config(1KB)
----functions-parameter-and-return-types.ts(92B)
----typescript-classical-inheritance.ts(510B)
----.gitignore(3KB)
----interface-function-types.ts(346B)
----classes-private-members.ts(358B)
----modules-multiple-files-utils.ts(91B)
----type-annotations-with-functions.ts(280B)
----classes-javascript-properties.ts(369B)
----web.Debug.config(1KB)

网友评论