Skip to the content.

Home > @nabh/ts-api-extractor > APITypeAlias > isAllLiterals

APITypeAlias.isAllLiterals property

Flag indicates that this type alias corresponds to one or more literals

Signature:

isAllLiterals?: boolean;

Example

type OneTwoThree 1 | 2 | 3