UNPKG

@altostra/core

Version:

Core library for shared types and logic

9 lines (8 loc) 372 B
import type { EntityId } from "../../CustomTypes/EntityId"; import { isEntityId } from "../../CustomTypes/EntityId"; declare const altostraRoleIdSymbol: unique symbol; export declare type AltostraRoleId = EntityId & { [altostraRoleIdSymbol]: unknown; }; export { isEntityId as isAltostraRoleId }; export declare function altostraRoleId(value: string): AltostraRoleId;