TypeScript complaining about passing a type from a custom scope to custom helper function
I've got a bit of a wrapper around Arktype that i work with, honestly a very simple function
Recently in a project I tried to use it with a custom scope and found that while it did run just fine, TypeScript is really mad about the types not matching for the validator object something like this
The picture is the error, which happens over
How can I type this helper function so that TypeScript isn't upset at it's usage?
Recently in a project I tried to use it with a custom scope and found that while it did run just fine, TypeScript is really mad about the types not matching for the validator object something like this
The picture is the error, which happens over
typesWithCustomId How can I type this helper function so that TypeScript isn't upset at it's usage?
