• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

paytonrules/typescript.koans: typescript koans, learn typescript the right way

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

paytonrules/typescript.koans

开源软件地址:

https://github.com/paytonrules/typescript.koans

开源编程语言:

TypeScript 94.8%

开源软件介绍:

Typescript Koans

In this set of examples and tests we cover typescript concepts by building a simple and lighter version of Lodash

Quick start

Make sure you have Node version >= 6.0 and NPM >= 3

Clone/Download the repo then edit *.spec.js files inside /test/

Replace all __ to fix failing tests

# clone our repo
git clone https://github.com/hackages/typescript.koans.git

# change directory to our repo
cd typescript.koans

# start the server (`npm install` will be performed for you)
npm start

# start your tests in the console (`npm install` will be performed for you)
npm test

go to http://localhost:8080 in your browser

We use Mocha in this repository

For those using yarn, make sure to remove the prestart script before running `yarn

For those using WallabyJS, just run it and you'll be on your way to master JS syntax

TypeScript

To take full advantage of TypeScript with autocomplete you would have to install it globally and use an editor with the correct TypeScript plugins.

Use latest TypeScript compiler

TypeScript 2.1.x includes everything you need. Make sure to upgrade, even if you installed TypeScript previously.

npm install --global typescript

Use a TypeScript-aware editor

We have good experience using these editors:

Contributing

Feel free to send us PRs

Happy coding!

Hackages Team




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap