Skip to content

Commit a46c87f

Browse files
author
LFRW2K\lecmil2
committed
[FIX] Template type
1 parent 7777848 commit a46c87f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ export type TemplatesType<T = any, S extends StrictRJSFSchema = RJSFSchema, F ex
333333
};
334334
} & {
335335
/** Allow this to support any named `ComponentType` or an object of named `ComponentType`s */
336-
[key: string]: ComponentType<any> | { [key: string]: ComponentType<any> };
336+
[key: string]: ComponentType<any> | { [key: string]: ComponentType<any> } | undefined;
337337
};
338338

339339
/** The set of UiSchema options that can be set globally and used as fallbacks at an individual template, field or

0 commit comments

Comments
 (0)