typeOfRef
Function: typeOfRef()
typeOfRef(
ref,names,fallback?):string
Defined in: sdk/src/generate/operations.ts:22
Return the TypeScript type
Parameters
ref
string
schema ref, void or <ref>?
names
type names
fallback?
string = "unknown"
type when the ref is unknown
Returns
string
the TypeScript type