Skip to content

Commit 70dc90c

Browse files
authored
Merge pull request #7 from open-rpc/fix/react-json-options
fix: allow react tree json options as any
2 parents 67f4598 + 3b4b656 commit 70dc90c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Documentation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { types } from "@open-rpc/meta-schema";
88
interface IProps {
99
schema: types.OpenRPC;
1010
uiSchema?: any;
11-
reactJsonOptions?: object;
11+
reactJsonOptions?: any;
1212
}
1313

1414
export default class Documentation extends React.Component<IProps> {

src/Errors/Errors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const styles = (theme: Theme) => ({
1919

2020
interface IProps extends WithStyles<typeof styles> {
2121
errors?: types.ErrorObject[];
22-
reactJsonOptions?: object;
22+
reactJsonOptions?: any;
2323
}
2424

2525
class Errors extends Component<IProps> {

src/ExamplePairing/ExamplePairing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ExamplePairingObject } from "@open-rpc/meta-schema/build/src/types";
1010
interface IProps {
1111
examplePosition?: number;
1212
method?: types.MethodObject;
13-
reactJsonOptions?: object;
13+
reactJsonOptions?: any;
1414
}
1515

1616
export default class ExamplePairing extends Component<IProps, {}> {

0 commit comments

Comments
 (0)