You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is really great if string with jsodoc generate correct validation for JS/TS
currently:
constcode=`/*** @format email*/type V = string;`constmodel=Codegen.TypeScriptToModel.Generate(code);console.log(Codegen.ModelToTypeScript.Generate(model));
Result:
exporttypeV=stringexportconstV=(()=>{functioncheck_V(value: any): boolean{returntypeofvalue==='string'&&format('email',value)}returnfunctioncheck(value: any): value is V{returncheck_V(value)}})()
I cannot find the implementation of format
The text was updated successfully, but these errors were encountered:
It is really great if string with jsodoc generate correct validation for JS/TS
currently:
Result:
I cannot find the implementation of
format
The text was updated successfully, but these errors were encountered: