Skip to content

Commit

Permalink
chore(typescript): add typings for tsc-prog/dist/utils/log
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Oct 29, 2021
1 parent 46065f2 commit 4e8a325
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.base.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ module.exports = {
'pnv',
'postinstall',
'prepack',
'prog',
'rimraf',
'stringified',
'tgz',
Expand Down
7 changes: 7 additions & 0 deletions typings/tsc-prog/dist/utils/log.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
declare module 'tsc-prog/dist/utils/log' {
import type { Diagnostic } from 'typescript'

const logDiagnostics: (diagnostics: Diagnostic[], pretty?: boolean) => void

export { logDiagnostics }
}

0 comments on commit 4e8a325

Please sign in to comment.