Clash Blueprint Engine API
    Preparing search index...

    Type Alias EntityId<Brand>

    EntityId: string & { __brand: Brand }

    Nominal (branded) id helper. EntityId<'Building'> and EntityId<'Wall'> are incompatible even though both are strings, which prevents accidentally passing a wall id where a building id is expected.

    Type Parameters

    • Brand extends string