@codecademy/gamut
68.2.268.2.3-alpha.c8dfb9.0
dist/ConnectedForm/utils.d.ts~
dist/ConnectedForm/utils.d.tsModified+1−1
Index: package/dist/ConnectedForm/utils.d.ts
===================================================================
--- package/dist/ConnectedForm/utils.d.ts
+++ package/dist/ConnectedForm/utils.d.ts
@@ -110,9 +110,9 @@
* See https://github.com/Microsoft/TypeScript/issues/12215#issuecomment-414783301
* for something that I think could be modified to make this better
* but I couldn't get it to work
*/
-type InputTypes = Extract<HTMLInputTypeAttribute, 'number' | 'color' | 'date' | 'datetime-local' | 'time' | 'image' | 'checkbox' | 'text' | 'hidden' | 'password' | 'radio' | 'range' | 'email' | 'search' | 'month' | 'tel' | 'time' | 'url' | 'week'> | 'textarea' | 'select';
+type InputTypes = Extract<HTMLInputTypeAttribute, 'number' | 'color' | 'date' | 'datetime-local' | 'time' | 'image' | 'checkbox' | 'text' | 'hidden' | 'password' | 'radio' | 'range' | 'email' | 'search' | 'month' | 'tel' | 'url' | 'week'> | 'textarea' | 'select';
type DebouncedFieldProps<T extends InputTypes> = Omit<GetInitialFormValueProps, 'setLocalValue' | 'defaultValue'> & Pick<useFieldProps, 'loading' | 'disabled' | 'name'> & {
type: T;
shouldDirtyOnChange?: boolean;
};