Skip to content

Commit

Permalink
globally available debugger type.
Browse files Browse the repository at this point in the history
look at microsoft/TypeScript#35601 (comment)
to get typescript to stop truncating
  • Loading branch information
davidsu committed Feb 20, 2022
1 parent 73795cd commit dccfde3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare type Debug<T> = { [K in keyof T]: T[K] }
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
"strict": true, /* Enable all strict type-checking options. */
"target": "ES2021", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"paths": {
"*": ["source/*.d.ts"]
}
}
}

0 comments on commit dccfde3

Please sign in to comment.