Skip to content

[I] EmitContext

Type ParameterDefault type
TOptions extends objectRecord<string, never>
PropertyModifierTypeDescription
emitterOutputDirpublicstringConfigured output dir for the emitter. Emitter should emit all output under that directory.
optionspublicTOptionsEmitter custom options defined in createTypeSpecLibrary
perfreadonlyPerfReporterPerformance measurement utilities. Use this to report performance of areas of your emitter. The information will be displayed when the compiler is run with --stats flag.
programpublicProgramTypeSpec Program.