diff --git a/src/index.ts b/src/index.ts index f0960108..0be02212 100644 --- a/src/index.ts +++ b/src/index.ts @@ -303,11 +303,6 @@ const typescript: PluginImpl = (options) => const key = normalize(name); if (key in declarations) return; - if (!allImportedFiles.has(key)) - { - context.debug(() => `skipping declarations for unused '${key}'`); - return; - } context.debug(() => `generating missed declarations for '${key}'`); const output = service.getEmitOutput(key, true);