• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

aligner-typescript

Typescript support for aligner
  • #aligner
  • #alignment
  • #align
  • #typescript
  • #javascript
marcghorayeb
1.0.0 2,338
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

aligner-typescript

Aligner add-on to support Typescript.

Supported character / operator

=: assignment

let foo   = "bar"
let test  = "notest"
let hello = "world"

+=, -= and other with =

let foo    = "bar"
let test  += "notest"
let hello -= "world"

:: Object

random = {
  troll: "internet",
  foo:   "bar",
  bar:   "beer"
}

,: Items in arrays

["helloText", 123456, "world"]
["foo"      ,  32124, "bar"]

from:

import * from 'fs';
import * from 'https';

Comments (if Align Comments options on)

let hello = 'world'; // line 1
let foo   = 'bar';   // line 2

Installation

Aligner must be installed along with this package. For more information, please check out Aligner

Changelog

  • 2017-08-08   v1.0.0   Initial release

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by