brepjs API Reference
    Preparing search index...

    Type Alias DimensionError<Op, Expected, Got>

    DimensionError: `${Op}: expected ${Expected}, got ${Got}`

    Compile-time error message for dimension mismatches. Resolves to a string literal type that appears in IDE diagnostics.

    Type Parameters

    • Op extends string
    • Expected extends string
    • Got extends string
    // Consumer sees:
    // Type '"❌ fuse: expected 3D, got 2D"' is not assignable to type 'Shape3D'.