UNPKG

@altostra/core

Version:

Core library for shared types and logic

10 lines (9 loc) 494 B
import type { EntityId } from "../../../CustomTypes/EntityId"; declare const configurationSetIdSymbol: unique symbol; export declare type ConfigurationSetId = EntityId & { [configurationSetIdSymbol]: unknown; }; export declare function isConfigurationSetId(val: unknown): val is ConfigurationSetId; export declare function validateConfigurationSetId(val: string): asserts val is ConfigurationSetId; export declare function configurationSetId(value?: string): ConfigurationSetId; export {};