News for hackers. Stuff that matters.
Re:TypeScript at Slack by crooked-v on Wednesday April 12, 2017 @12:37PM (#14099310)
It's a bit wordy, but I think you can do something like:

    function test ({param1, param2}: {readonly param1: string, readonly param2: number}) {
        return
    }

There are no comments on this comment yet.