Skip to content

Commit

Permalink
Fix annoying auto-import of broken console module.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiemill committed May 26, 2019
1 parent 8aa4213 commit c97607b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/console.d.ts
@@ -0,0 +1,8 @@
/**
* To fix this: https://github.com/Microsoft/TypeScript/issues/30471#issuecomment-474963436
* https://stackoverflow.com/questions/53279182/vscode-imports-import-console-requireconsole-automatically
*/

declare module "console" {
export = typeof import("console");
}

0 comments on commit c97607b

Please sign in to comment.