{"library":"typescript-declaration-webpack-plugin","type":"library","category":null,"description":"The `typescript-declaration-webpack-plugin` is a Webpack plugin designed to consolidate all TypeScript declaration files (`.d.ts`) generated by the TypeScript compiler and its loaders during a Webpack build into a single, unified `.d.ts` file. This functionality is particularly beneficial for library authors who distribute their compiled JavaScript alongside their type definitions, providing a single, coherent type entry point for consumers. The plugin intelligently sorts and deduplicates module imports within the bundled declaration file. The current stable version is `0.3.0`, which introduced named exports for the plugin class and configuration, alongside enhanced declaration emission. While the project doesn't follow a strict release cadence, it shows active development with recent patches addressing critical issues and adding new features like comment removal from declarations.","language":"javascript","status":"active","version":"0.3.0","tags":["javascript","webpack","typescript","bundler","declaration"],"last_verified":"Wed May 27","install":[{"cmd":"npm install typescript-declaration-webpack-plugin","imports":["import TypescriptDeclarationPlugin from 'typescript-declaration-webpack-plugin';","import { TypescriptDeclarationPlugin } from 'typescript-declaration-webpack-plugin';","const TypescriptDeclarationPlugin = require('typescript-declaration-webpack-plugin');"]},{"cmd":"yarn add typescript-declaration-webpack-plugin","imports":[]},{"cmd":"pnpm add typescript-declaration-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/chitter99/typescript-declaration-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/typescript-declaration-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/typescript-declaration-webpack-plugin/compatibility"}}