Hacker News new | ask | show | jobs
by antihero 205 days ago
Unless you use enums, of course.
1 comments

Or constructor property initializers.

    constructor(public foo: string){}
Is a typescript feature.