Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit 9570f10

Browse files
committed
Export Errors and shard directly to fix typing issue
1 parent 9435c15 commit 9570f10

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/index.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@ export { MountDatastore } from './mount.js'
99
export { TieredDatastore } from './tiered.js'
1010
export { NamespaceDatastore } from './namespace.js'
1111

12-
export const Errors = {
13-
...ErrorsImport
14-
}
15-
16-
export const shard = {
17-
...ShardImport
18-
}
12+
export const Errors = ErrorsImport
13+
export const shard = ShardImport
1914

2015
/**
2116
* @typedef {import("./types").Shard } Shard

0 commit comments

Comments
 (0)