mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
conformToMask mask param can be a function (#35859)
The `mask` param of the `conformToMask ` function can, like in `MaskedInputProps` be a function. https://github.com/text-mask/text-mask/blob/master/core/src/conformToMask.js#L15
This commit is contained in:
committed by
Sheetal Nandi
parent
7891596585
commit
8fe95e40a3
Vendored
+1
-1
@@ -46,6 +46,6 @@ export default class MaskedInput extends React.Component<
|
||||
|
||||
export function conformToMask(
|
||||
text: string,
|
||||
mask: maskArray,
|
||||
mask: maskArray | ((value: string) => maskArray),
|
||||
config: any
|
||||
): conformToMaskResult;
|
||||
|
||||
Reference in New Issue
Block a user