YoImMaxy

Results 17 comments of YoImMaxy

> Hi there, have you tried typing your models as `Model.extend`, without the `Partial`? You'll need to provide default values for any static properties. > > Also, I find that...

aren't you supposed to import with ?react for example: import Logo from "./logo.svg?react"

@mcshaz I'm facing the same issue, may you please elaborate on the method using readfile?

> I ended up with the other solution, which uses `infer`. I have a question though: why can't we use `T[T["length"]]`? It gives me an error when I try it...

> Does not seem to be working or I am doing something worng here? > > https://www.typescriptlang.org/play?#code/C4TwDgpgBAMghgZ2AHgCpQgD2BAdgEwSjlxAG0BdAPigF4oySQAaKAOg9QrNTICIANngDmwABZ8KFANwAoWQGMA9riRQARnABOALliIUSLQEtcwyjXoAWaUA that's because T["length"] is number since there is no predefined length, and since...

> I wonder if #31835 is also related to default exports. it is

> > I wonder if #31835 is also related to default exports. > > Partially yes, but there are other issues there as well I think, for e.g. [#31835 (comment)](https://github.com/mui/material-ui/issues/31835#issuecomment-1147055123)...