Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dhvanipa committed Oct 31, 2023
1 parent a08d809 commit 505dd3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/gas-report/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { readFileSync, writeFileSync } from "fs";
import execa from "execa";
import chalk from "chalk";
import { table, getBorderCharacters } from "table";
// TODO: Fix this import for cjs
// import stripAnsi from "strip-ansi";
// const stripAnsi = require('strip-ansi');

Expand Down
2 changes: 2 additions & 0 deletions packages/store/ts/config/storeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ export type FullEnumsConfig<EnumNames extends StringForUnion> = {
enums: Record<EnumNames, string[]>;
};

// TODO: Fix .any() should be zUserEnum, but for some reason when
// compiling to cjs, it doesn't work
export const zEnumsConfig = z.object({
enums: z.record(zUserEnumName, z.any()).default(DEFAULTS.enums),
});
Expand Down

0 comments on commit 505dd3a

Please sign in to comment.