We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b33eff1 commit 6bc2c06Copy full SHA for 6bc2c06
1 file changed
src/compiler/utilities.ts
@@ -2418,10 +2418,10 @@ namespace ts {
2418
* Serialize an object graph into a JSON string. This is intended only for use on an acyclic graph
2419
* as the fallback implementation does not check for circular references by default.
2420
*/
2421
- export const stringify: (value: any) => string = JSON && JSON.stringify
+ export const stringify: (value: any) => string = JSON && JSON.stringify
2422
? JSON.stringify
2423
: stringifyFallback;
2424
-
+
2425
function hasCycles(value: any, stack: any[]) {
2426
/* tslint:disable:no-null */
2427
if (typeof value !== "object" || value === null) {
0 commit comments