# TsRegisterArgs

TYPE in `@skmtc/lang-typescript 0.19.1`

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

```ts
import type { TsRegisterArgs } from '@skmtc/lang-typescript'
```

## Properties

- `imports` (Record<string, ImportNameArg[]>): 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.
- `reExports` (Record<string, TsIdentifier[]>): Re-export statements to include, organized by source module path.
- `definitions` ((DefinitionBase | undefined)[]): Definition objects to include in the destination file.
- `custom` (Stringable): 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.
