Skip to content

Commit

Permalink
Merge branch 'master' into fix-required-empty-obj
Browse files Browse the repository at this point in the history
  • Loading branch information
ranihorev committed May 4, 2022
2 parents 472face + e677a66 commit 86c7e97
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/core/index.d.ts
Expand Up @@ -477,6 +477,14 @@ declare module '@rjsf/core/lib/components/fields/SchemaField' {
export default class SchemaField extends React.Component<SchemaFieldProps> {}
}

declare module '@rjsf/core/lib/components/fields/ObjectField' {
import { FieldProps } from '@rjsf/core';

export type ObjectFieldProps<T = any> = FieldProps<T>;

export default class ObjectField extends React.Component<ObjectFieldProps> {}
}

declare module '@rjsf/core/lib/validate' {
import { JSONSchema7Definition } from 'json-schema';
import { AjvError, ErrorSchema, FormProps } from '@rjsf/core';
Expand Down

0 comments on commit 86c7e97

Please sign in to comment.