Better HN
topnewbestaskshowjobs
Log inSign up

lets-surf

15 karma · joined Jan 15, 2020 (6y ago) · 3 submissions

Submissions

comment 6y ago · link · parent

Very happy to hear TypeScript support is included! I wouldn't like to work on a large app without it.

comment 6y ago · link · parent

Sandstorm is an open source platform for self-hosting web apps

comment 6y ago · link · parent

This example from the article looks like an argument for immutability to me.

    interface A {
        x: number;
    }
    
    let a: A = {x: 3}
    let b: {x: number | string} = a; 
    b.x = "unsound";
    let x: number = a.x; // unsound
    
    a.x.toFixed(0); // WTF is it?