Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
WorldMaker
on Aug 10, 2017
|
parent
|
context
|
favorite
| on:
JavaScript for People Who Hate JavaScript
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: