mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Added boolean type to mask property (#35987)
The documentation states that the mask property can be false, but the type does not describe this feature, it is necessary when you need to disable the mask
This commit is contained in:
parent
022dbd5d91
commit
dd1dd258e0
2
types/react-text-mask/index.d.ts
vendored
2
types/react-text-mask/index.d.ts
vendored
@ -8,7 +8,7 @@
|
||||
|
||||
import * as React from "react";
|
||||
|
||||
export type maskArray = Array<string | RegExp>;
|
||||
export type maskArray = Array<string | RegExp> | boolean;
|
||||
|
||||
export interface MaskedInputProps
|
||||
extends React.InputHTMLAttributes<HTMLInputElement> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user