# TsEntityType

TYPE in `@skmtc/lang-typescript 0.19.1`

TypeScript's declaration-type vocabulary - the typed `type` this package
writes onto its `TsIdentifier` and the discriminator its renderers
narrow against.

**Assignment-form** kinds render `export <kw> Name = value;`:
- `'variable'` - value entities: `const` declarations and plain
  (`import { Foo }`) imports.
- `'type'` - type-level entities: `type` declarations and type-only
  (`import { type Foo }` / `import type { Foo }`) imports.

**Block-form** kinds render `export <kw> Name <value>` - the value carries
any heritage and the braced body, with no `= …` and no trailing `;` (see
`isBlockType`):
- `'class'` - value entity declared with `class`; plain import.
- `'interface'` - type-level entity declared with `interface`; type-only
  import (like `'type'`).
- `'namespace'` - declared with `declare namespace`; plain import (for
  `Name.Member` access). The same-file type re-export block the
  Stainless-style SDK layout emits.

**Member** kinds render inside a class Index, with no keyword (see
`isMemberType`):
- `'property'` - `name: Type = value;`.
- `'method'` - `name(…): Type { … }`.

(Formerly core's `EntityTypeValue` - moved here under F5/F6: each
language package owns its type vocabulary; core's `IdentifierBase` no
longer carries a `type` at all.)

## Signature

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

type TsEntityType =
  | 'variable'
  | 'type'
  | 'class'
  | 'interface'
  | 'namespace'
  | 'property'
  | 'method'
```
