Files and imports
TsRegisterArgs
TypeScript's concise register vocabulary - the generator-facing form.
Owned by this package (F10): each language defines its own concise args type exposing only what the language supports, and the neutral context.register only ever sees standardised objects. TypeScript supports reExports; a language without them omits the field, so the absence is compile-time.
Signature
import type { TsRegisterArgs } from '@skmtc/lang-typescript'Properties
Import statements to include, keyed by module. A key spelled from the workspace root (@/, ./, /, or a Windows form) is an export path and is written in its one spelling; any other key (zod, @tanstack/query, types/y.ts) is a module specifier, written as it is.
Re-export statements to include, organized by source module path.
Definition objects to include in the destination file.
Free-form content for the destination file's neutral custom slot (FileBase.custom) - typically a leading file banner comment (e.g. a codegen header). Forwarded to context.register; the last non-undefined write wins.