On this page

core.typescriptgeneratoroptions.getimportpath

Home > @medplum/core > TypeScriptGeneratorOptions > getImportPath

TypeScriptGeneratorOptions.getImportPath property​

Returns the module specifier used to import a referenced type. Defaults to a sibling file, e.g. ./Patient.d.ts.

Signature:

getImportPath?: (typeName: string) => string;