codemix / babel-plugin-typecheck

Static and runtime type checking for JavaScript in the form of a Babel plugin.
MIT License
886 stars 44 forks source link

Add TypeScript support #163

Open graingert opened 8 years ago

gajus commented 8 years ago

@graingert Please provide more details.

I am assuming that you are an expert on the subject of TS. Therefore, you are in position to provide details as to what such a change would entail.

graingert commented 8 years ago

@gajus I did reply to this a while ago, but it seems not to have been saved :(

TypeScript is actually very similar to Flow and basically uses the same annotations.

TypeScript just adds support for accessor modifiers and interfaces