Skip to content

Commit

Permalink
fix: support readonly array in MaskitoMaskExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Oct 6, 2024
1 parent b8781fb commit 3b2c2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/core/src/lib/types/mask.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type {ElementState} from './element-state';

export type MaskitoMaskExpression = Array<RegExp | string> | RegExp;
export type MaskitoMaskExpression = ReadonlyArray<RegExp | string> | RegExp;

export type MaskitoMask =
| MaskitoMaskExpression
Expand Down

0 comments on commit 3b2c2e3

Please sign in to comment.