Files and imports
CLASS
@skmtc/lang-typescript 0.19.1TsDefinition
TypeScript's concrete DefinitionBase: assembles the export <kw> Name[: Type] = value; declaration (with an optional leading JSDoc from description). Owns the rendering that previously lived on the engine's Definition, byte-for-byte.
Signature
import { TsDefinition } from '@skmtc/lang-typescript'
class TsDefinition<Value extends GeneratedValue = GeneratedValue> extends DefinitionBase<Value>Constructor
constructor
constructor(args: TsDefinitionArgs<Value>)Properties
Narrows the inherited neutral identifier to the concrete TS subclass (the constructor only accepts a TsIdentifier).
description, string | undefined
leadingComment, string | undefined
noExport, boolean | undefined
Methods
toString
toString(): string