modeled after the jsonapi specification, i.e. they have
type: , id:, attributes: {}
How do I abstract that?
I have been using npm.im/json-schema-to-typescript for these kinds of things
I just assign it to variable and copy the types that appear hover :p
That's not what he means lol
Обсуждают сегодня