types: fix tsx dts tests
This commit is contained in:
@@ -88,10 +88,7 @@ function createConfig(format, output, plugins = []) {
|
||||
output.name = packageOptions.name
|
||||
}
|
||||
|
||||
const shouldEmitDeclarations =
|
||||
process.env.TYPES != null &&
|
||||
process.env.NODE_ENV === 'production' &&
|
||||
!hasTSChecked
|
||||
const shouldEmitDeclarations = process.env.TYPES != null && !hasTSChecked
|
||||
|
||||
const tsPlugin = ts({
|
||||
check: process.env.NODE_ENV === 'production' && !hasTSChecked,
|
||||
|
||||
Reference in New Issue
Block a user