Names
TYPE
@skmtc/lang-typescript 0.19.1TsEntityType
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:constdeclarations and plain (import { Foo }) imports.'type'- type-level entities:typedeclarations 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 withclass; plain import.'interface'- type-level entity declared withinterface; type-only import (like'type').'namespace'- declared withdeclare namespace; plain import (forName.Memberaccess). 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
import type { TsEntityType } from '@skmtc/lang-typescript'
type TsEntityType =
| 'variable'
| 'type'
| 'class'
| 'interface'
| 'namespace'
| 'property'
| 'method'