@altostra/core
Version:
Core library for shared types and logic
10 lines (9 loc) • 467 B
TypeScript
import type { NonEmptyString } from "../../../common/CustomTypes/NonEmptyString";
declare const logGroupNameSym: unique symbol;
export declare type LogGroupName = NonEmptyString & {
[logGroupNameSym]: unknown;
};
export declare function isLogGroupName(value: unknown): value is LogGroupName;
export declare function validateLogGroupName(value: unknown): asserts value is LogGroupName;
export declare function logGroupName(value: string): LogGroupName;
export {};