Skip to content

Commit 698d0f3

Browse files
committed
fix: use type-only export for ComposeSpecification
The .d.ts file has no runtime module, so use `export type` instead of a value re-export to avoid ERR_MODULE_NOT_FOUND at runtime.
1 parent 6e9cb51 commit 698d0f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import childProcess from 'child_process'
22
import yaml from 'yaml'
33
import mapPorts from './map-ports'
4-
export { ComposeSpecification } from './compose-spec'
4+
export type { ComposeSpecification } from './compose-spec'
55
import type { ComposeSpecification } from './compose-spec'
66

77
export type IDockerComposeExecutableOptions =

0 commit comments

Comments
 (0)