aboutsummaryrefslogblamecommitdiffstats
path: root/packages/sol-compiler/src/utils/utils.ts
blob: 9b1e59f9deea28c0e7a5f465bb2d18e1d7a3ed0f (plain) (tree)
1
2
3
4
5
6
7
8
                      






                                                                                     
export const utils = {
    stringifyWithFormatting(obj: any): string {
        const jsonReplacer: null = null;
        const numberOfJsonSpaces = 4;
        const stringifiedObj = JSON.stringify(obj, jsonReplacer, numberOfJsonSpaces);
        return stringifiedObj;
    },
};