I am using TypeIds and want to validate if the given string is validateing the typeId. This is at least not a problem write now. But I use the typeId also in types, so my id type is x-${string} for example. The InferOutput is a string for this type.
If I use transform I can set the type correctly, but then I have a transform for just converting the typescript type, seem to be unnecassery? I also did not find a genreic param to define the return type.
I am using TypeIds and want to validate if the given string is validateing the typeId. This is at least not a problem write now. But I use the typeId also in types, so my id type is
x-${string}
for example. The InferOutput is a string for this type.If I use transform I can set the type correctly, but then I have a transform for just converting the typescript type, seem to be unnecassery? I also did not find a genreic param to define the return type.