▲ 290 ▼ New ‘Ambiguous’ Variable Type Promises to End Type Errors by Making All Types Equally Unreliable (disreport.com) submitted 2 days ago by Dispassionate to c/programmer_humor@programming.dev 50 comments fedilink hide all child comments
[–] HeHoXa@lemmy.zip 4 points 2 days ago* (2 children) What? Cmon'... Promise *(okay it isn't really a sin like any, but I wanted to wedge this into this thread somewhere) permalink fedilink source parent hideshow 2 child comments replies: [–] aldhissla@beehaw.org 4 points 1 day ago as unknown as any permalink fedilink source parent [–] dreadbeef@lemmy.dbzer0.com 4 points 2 days ago* meanwhile, up above: async function foo<T=any>(): Promise<T> { permalink fedilink source parent
[–] dreadbeef@lemmy.dbzer0.com 4 points 2 days ago* meanwhile, up above: async function foo<T=any>(): Promise<T> { permalink fedilink source parent