A
arktype•6d ago
francis

Are there docs on how to do non-trivial self reference?

I can't seem to find them. I'm aware of the this keyword, but I'm looking to do something like:
const example = type({
name: "string",
selves: "this[]",
});
const example = type({
name: "string",
selves: "this[]",
});
2 Replies
ssalbdivad
ssalbdivad•6d ago
So what's the issue? this works fine in expressions like this
francis
francisOP•6d ago
ah, I got a shallow resolution cycle error was using an old version, nvm 🙂
Want results from more Discord servers?
Add your server