Skip to content

Commit

Permalink
Merge pull request #513 from Blu-J/feat/remove_readonly
Browse files Browse the repository at this point in the history
feat: Remove the readonly
  • Loading branch information
Blu-J authored Nov 21, 2024
2 parents 2f66c24 + 1322851 commit db23e4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/parsers/shape-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type _<T> = T;
// prettier-ignore
// deno-fmt-ignore
export type MergeAll<T> =
T extends ReadonlyArray<infer U> ? ReadonlyArray<MergeAll<U>> :
T extends Array<infer U> ? Array<MergeAll<U>> :
T extends object ?
T extends null | undefined | never ? T :
_<{ [k in keyof T]: MergeAll<T[k]> }>
Expand Down

0 comments on commit db23e4b

Please sign in to comment.