Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

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 30, 2021
1 parent 82acbbc commit ffa44cf
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 @@ -127,6 +127,7 @@ module.exports = {
'pnv',
'postinstall',
'prepack',
'prog',
'readonly',
'rimraf',
'stringified',
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 ffa44cf

Please sign in to comment.