Skip to content

Commit

Permalink
🚧 Removes published qualifier
Browse files Browse the repository at this point in the history
Co-authored-by: Eli <[email protected]>
  • Loading branch information
ekwoka and lishaduck committed Nov 25, 2024
1 parent 9a92bdf commit dd027f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ The `--dts-only` flag is the equivalent of the `emitDeclarationOnly` option in `

TypeScript declaration maps are mainly used to quickly jump to the source code associate with imported objects. Without declaration maps, `Go to Definition` in IDEs will go to the type defition and not the relevant source code. `Go to Type Definition` will always go to the type definition.

Declaration maps and source TS files should be included in all published TypeScript packages.
Declaration maps and source TS files should be included in all TypeScript packages.

Unfortunately, [Tsup is not able to generate those files](https://github.com/egoist/tsup/issues/564). Instead, you should use the TypeScript compiler directly, by running the following command after the build is done: `tsc --emitDeclarationOnly --declaration`.

Expand Down

0 comments on commit dd027f8

Please sign in to comment.