Skip to content

Commit 5b897a7

Browse files
fix: split type-only and runtime exports (#518)
1 parent cd7e5cd commit 5b897a7

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.changeset/honest-crews-go.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@clack/prompts": patch
3+
---
4+
5+
Fix mixed type-only and runtime exports from @clack/core.

packages/prompts/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
export { type ClackSettings, isCancel, settings, updateSettings } from '@clack/core';
1+
export type { ClackSettings } from '@clack/core';
2+
export { isCancel, settings, updateSettings } from '@clack/core';
23

34
export * from './autocomplete.js';
45
export * from './box.js';

0 commit comments

Comments
 (0)