chore: fixing the type for the return of the createNextScaffolderFieldExtension

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-11-10 17:35:09 +01:00
parent af5d2741da
commit c1f5541d5c
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ export function createNextScaffolderFieldExtension<
TInputProps extends UIOptionsType = {},
>(
options: NextFieldExtensionOptions<TReturnValue, TInputProps>,
): Extension<NextFieldExtensionComponentProps<TReturnValue, TInputProps>> {
): Extension<React.ComponentType> {
return {
expose() {
const FieldExtensionDataHolder: any = () => null;