https://github.com/apachecn-archive/typescript-demo

https://github.com/apachecn-archive/typescript-demo

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (2.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: apachecn-archive
  • Default Branch: master
  • Size: 179 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 3 years ago · Last pushed about 3 years ago
Metadata Files
Readme

README.md

关于本书

本书优点

  • 【简单明了】:文件分层,文档目录,结构化清晰:方便快速入门和复习
  • 【提供demo示例】:方便快速调试,增加体感
  • 【内容全面】:涵盖环境搭建,核心概念解析,高级ts技巧等

TypeScript 优点

  • 【强类型语言】每个变量都要定义类型
    • 静态类型监测:类型不符合自动报错,减少Bug率
    • 方便阅读源码:减少文档内容
  • 【兼容性好】typescript 是javascript 的超集,可和js共存

快速入门

typescript 安装

cnpm i -g typescript tsc --version

在线ts测试

http://www.typescriptlang.org/play/#example/adding-types

参考资料:

Owner

  • Name: ApacheCN 归档
  • Login: apachecn-archive
  • Kind: organization
  • Email: wizard.z@qq.com

防止重要项目丢失而设立的归档

GitHub Events

Total
Last Year

Dependencies

demo/react/package.json npm
  • react ^16.9.0
demo/声明文件/jquery-type/package.json npm
  • @types/jquery ^3.5.5 development