An open API service indexing awesome lists of open source software.

https://github.com/timmikeladze/typescript-cheatsheet

A cheat sheet for TypeScript
https://github.com/timmikeladze/typescript-cheatsheet

Last synced: 6 months ago
JSON representation

A cheat sheet for TypeScript

Awesome Lists containing this project

README

          

# TypeScript Cheat Sheet

A simple guide to writing TypeScript

## Notes

### Research

- How to format TypeScript?
- TypeDoc?
- Exporting typings with published package
- How to watch tests?
- Why `import * as React` instead of `import React`

### Todo

- Create Typescript boilerplate

### Observations

- Can't use ES6 modules without typings https://github.com/Microsoft/TypeScript/issues/247#issuecomment-173606648

### Meta

- Mention typings in cheat sheet
- How to use React

## What is TypeScript

## Getting started

Install TypeScript as a development dependency.

`npm i -D typescript tslint typings`

## Types