Names

FUNCTION

toTsIdentifier

@skmtc/lang-typescript 0.19.1

Narrows the neutral IdentifierBase the engine hands a generator (ContentSettings.identifier) back to the TsIdentifier this language built, for a call that needs the concrete type - a reExports entry in registerInto, say. Throws on an identifier another language layer built: that is a misconfiguration, not a case to handle.

Signature

import { toTsIdentifier } from '@skmtc/lang-typescript'

toTsIdentifier(identifier: IdentifierBase): TsIdentifier

Parameters

identifier, IdentifierBase required

Returns