Skip to content

Commit a65f0c7

Browse files
committed
Remove unused function
1 parent 21169ac commit a65f0c7

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

packages/react-openapi/src/decycle.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,3 @@ export function retrocycle() {
6666
return value;
6767
};
6868
}
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

Comments
 (0)