这是indexloc提供的服务,不要输入任何密码
Skip to content

Add dtsOnly to Options type #903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Add dtsOnly to Options type #903

wants to merge 1 commit into from

Conversation

rygine
Copy link

@rygine rygine commented May 8, 2023

When passing the --dts-only option to the CLI, the options contains a dtsOnly property, but it's not reflected in the type.

When passing the `--dts-only` option to the CLI, the `options` contains a `dtsOnly` property, but it's not reflected in the type.
@codesandbox
Copy link

codesandbox bot commented May 8, 2023

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@vercel
Copy link

vercel bot commented May 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tsup ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2023 7:59pm

@sxzz
Copy link
Collaborator

sxzz commented Aug 3, 2023

options.dts.only, instead of options.dtsOnly

tsup/src/cli-main.ts

Lines 129 to 131 in ec83015

if (flags.dtsOnly) {
options.dts.only = true
}

@rygine
Copy link
Author

rygine commented Aug 3, 2023

thanks for pointing that out! not sure how i missed it.

@rygine rygine closed this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants