Home > paratype > constType constType() function Constructs a Type that represents a fixed string value. Signature: export declare function constType<T extends string>(fixed: T): Type<T>; Parameters Parameter Type Description fixed T Returns: Type<T>