jsii 5.9.15-dev.3 → 5.9.19-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/assembler.js CHANGED
@@ -79,7 +79,7 @@ class Assembler {
79
79
  this.warningsInjector = new deprecation_warnings_1.DeprecationWarningsInjector(this._typeChecker);
80
80
  }
81
81
  this.compressAssembly = options.compressAssembly;
82
- const dts = projectInfo.types;
82
+ const dts = projectInfo.types ?? 'index.d.ts';
83
83
  let mainFile = dts.replace(/\.d\.ts(x?)$/, '.ts$1');
84
84
  // If out-of-source build was configured (tsc's outDir and rootDir), the
85
85
  // main file's path needs to be re-rooted from the outDir into the rootDir.