borela / naomi

Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Other
558 stars 18 forks source link

[JS/Flow] Default parameter after nullish #121

Closed Whoaa512 closed 6 years ago

Whoaa512 commented 6 years ago

Image

screenshot 2018-03-30 13 26 36

Sample code

// @flow

export class SmartQuery {
    __isTracked: boolean

    constructor(trackEvents?: boolean = true, work: boolean = true) {
        this.__isTracked = trackEvents
    }
}
borela commented 6 years ago

Fixed https://github.com/borela/naomi/releases/tag/v3.15.6

borela commented 6 years ago

The patch is on package control.