Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Most of my usages are Typescript type assertions:

    ;(thing as Type).methodINeed()
If it weren't for these I mostly wouldn't need semicolons at all, sometimes I refactor to:

    const thingType = thing as Type
    thingType.methodINeed()


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: