IMask.AnyMaskedOptions
type missing
#930
Replies: 6 comments 4 replies
-
@uNmAnNeR any word on this? |
Beta Was this translation helpful? Give feedback.
-
Same problem: Namespace 'IMask' has no exported member 'AnyMaskedOptions'
|
Beta Was this translation helpful? Give feedback.
-
yes it was removed. Now you can use |
Beta Was this translation helpful? Give feedback.
-
@uNmAnNeR Would it be possible for you to give an example of how to use the My test code:
|
Beta Was this translation helpful? Give feedback.
-
These type definitions are not available for react-imask library. I was able to access type definitions (E.g. FactoryArg) by installing imask as a devdependency, which doesn't look like an ideal solution. Is it possible to have access these type definitions from react-imask as well? |
Beta Was this translation helpful? Give feedback.
-
@uNmAnNeR I am using like this import Imask from "imask"; export type IMaskInputProps = Partial<
second code where is used above props (IMaskInputProps ) interface extendedProps { export type AllInputMaskProps = Merge<TextFieldProps, extendedProps>; const MyInputMaskCustom: FC = ({ now how can i add FactoryArg or FactoryOpts ? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I am looking for the type
IMask.AnyMaskedOptions
as used in different examples and libraries but I cannot find it in the latest version. Seems like it was removed in v7.0.0.To Reproduce
N/A
Expected behavior
Somehow get the type equivalent to
IMask.AnyMaskedOptions
that was previously implemented (at least up til version 6.6.3)Environment:
Additional context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions