Connect, collaborate, and grow with a community of TypeScript developers
type LiteralString = unknown;
type LiteralTrue = unknown;
type LiteralNumbers = unknown;
type LiteralObject = {};
type LiteralFunction = unknown;
const literalString = undefined;
const literalTrue = undefined;
const literalNumber = Math.random() > 0.5 ? undefined : undefined;
const literalObject = {};
const literalFunction = () => {};