Atom package development in typescript

I was wondering if anyone did this successfully? I could not find any support for this.

Some links to documentation or existing code will be appreciated.

I know that the atom runs on node, and nodes have typescript compiler package.

I am particularly interested in whether typescript definition files exist for the modules needed to build Atom packages.

+4
source share
1 answer

Ultimately, typescript will compile in Javascript, so anything that can be written in JS can be written to TS, including packages with atoms.

, DefinitelyTyped . , , :

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/atom/atom.d.ts

, , - , Typings TSD (). TSD , , , .

, , , atom-typescript typescript (at ), , .

+1
source

Source: https://habr.com/ru/post/1657890/


All Articles