News for hackers. Stuff that matters.
Re:Node.js adds experimental support for TypeScript by crabmusket on Thursday July 25, 2024 @10:28AM (#41069072)
> it's just what a default POJO (with nullable properties) already is

I think you missed the point. Partial<T> is an example of a "mapped type", see the handbook for more explanation: https://www.typescriptlang.org/docs/handbook/2/mapped-types....

Re:Node.js adds experimental support for TypeScript by tpm on Thursday July 25, 2024 @11:01AM (#41069496)
I understand that much, just thinking aloud what problem would that solve in Java.
Re:Node.js adds experimental support for TypeScript by scotty79 on Thursday July 25, 2024 @11:39AM (#41069937)
I think it's for when you need type that expresses partial data update for an object that has some fields required.