We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21169ac commit a65f0c7Copy full SHA for a65f0c7
packages/react-openapi/src/decycle.ts
@@ -66,15 +66,3 @@ export function retrocycle() {
66
return value;
67
};
68
}
69
-
70
-export const extend = (json: JSON) => {
71
- return Object.defineProperties(json, {
72
- decycle: {
73
- value: (object: any, space: string | number): string =>
74
- json.stringify(object, decycle(), space),
75
- },
76
- retrocycle: {
77
- value: (s: string): any => json.parse(s, retrocycle()),
78
79
- });
80
-};
0 commit comments