Skip to content

Commit

Permalink
Merge pull request wheatjs#35 from Zolyn/fix-move-type-not-found-warn…
Browse files Browse the repository at this point in the history
…ing-to-debug-level

fix: move type not found warning to debug level, closes wheatjs#34
  • Loading branch information
wheatjs authored Sep 16, 2022
2 parents ab76726 + 458c59b commit 47e3af9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import {
isTSTypes,
isWithDefaults,
resolveModulePath,
warn,
} from './utils'

const enum Prefixes {
Expand Down Expand Up @@ -1279,7 +1278,7 @@ export async function extractTypesFromSource(
}
else {
if (!hasExportAllDecl)
warn(`Cannot find type: ${typeName}`)
debug('Cannot find type: %s', typeName)

unresolved.push(typeName)
}
Expand Down

0 comments on commit 47e3af9

Please sign in to comment.