From dd1dd258e059342317cf4e0c9edb2dcc038961cb Mon Sep 17 00:00:00 2001 From: Hazrat Gadjikerimov Date: Fri, 7 Jun 2019 20:31:52 +0300 Subject: [PATCH] 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 --- types/react-text-mask/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-text-mask/index.d.ts b/types/react-text-mask/index.d.ts index f45e34beef..92873b3a08 100644 --- a/types/react-text-mask/index.d.ts +++ b/types/react-text-mask/index.d.ts @@ -8,7 +8,7 @@ import * as React from "react"; -export type maskArray = Array; +export type maskArray = Array | boolean; export interface MaskedInputProps extends React.InputHTMLAttributes {