Skip to content

Instantly share code, notes, and snippets.

@rajinwonderland
Created May 2, 2023 17:47

Revisions

  1. rajinwonderland created this gist May 2, 2023.
    3 changes: 3 additions & 0 deletions prettify.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    type Prettify<T> = {
    [K in keyof T]: T[K]
    } & {}