Marcin Fudali
1 min readApr 16, 2020

--

Not sure if that wasn’t possible as of writing this article but right now I think you could simply do e.g.:

class Person extends Record({
name: “”,
placeholder: “”,
age: null as number | null,
}) {}

and then

const person = new Person({ … });

--

--