mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-11 03:13:12 +00:00
fix(auth): re-export interface-only barrel symbols as types for bun dev runs
The auth commands barrel re-exported 4 interface-only symbols (AuthCommandArgs,
ProfileOutput, ListOutput, CommandContext) via a value 'export {}', which bun's
per-file transpile cannot resolve at runtime (the tsc dist elides them, so users
were unaffected). Split them into 'export type {}' so 'bun run dev' / source runs
work.
This commit is contained in:
1 parent
5e4a90b3e5
commit
40d7617cc1
1 file changed
+2
-8
@@ -5,14 +5,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Types and utilities
|
// Types and utilities
|
||||||
export {
|
export type { AuthCommandArgs, ProfileOutput, ListOutput, CommandContext } from './types';
|
||||||
AuthCommandArgs,
|
export { parseArgs, formatRelativeTime } from './types';
|
||||||
ProfileOutput,
|
|
||||||
ListOutput,
|
|
||||||
CommandContext,
|
|
||||||
parseArgs,
|
|
||||||
formatRelativeTime,
|
|
||||||
} from './types';
|
|
||||||
|
|
||||||
// Command handlers
|
// Command handlers
|
||||||
export { handleCreate } from './create-command';
|
export { handleCreate } from './create-command';
|
||||||
|
|||||||
Reference in new issue
Block a user