Add TSDX's own typedefs in order to use in tsdx.config.js with JSDoc #822
Labels
kind: feature
New feature or request
scope: integration
Related to an integration, not necessarily to core (but could influence core)
Milestone
Current Behavior
TSDX is a zero-config CLI that helps you develop, test, and publish modern TypeScript packages
But tsdx missing
.d.ts
files itself. Even cannot require it.Desired Behavior
Bundle
.d.ts
aside.js
Make tsdx
require-able
Suggested Solution
Add
"declaration": true
totsconfig.json
Add main and types fields to
package.json
Who does this impact? Who is this for?
TSDX config file is
js
only. But user can active IntelliSense by JSDoc comments.Describe alternatives you've considered
Send pr to
@types/tsdx
. But it's not a good idea. Because tsdx source code is typescript.Additional context
The text was updated successfully, but these errors were encountered: