Skip to content

Commit 8514de8

Browse files
authored
fix: expose type utilities in dist (#8)
1 parent 6f0799f commit 8514de8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/dynaModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export type NonPartial<T> = { [K in keyof Required<T>]: T[K] };
3030
* type UserItem = Item<{ name: string }, { userId: string }>
3131
* // ☝️ type UserItem = { userId: string, name: string, createdAt: string, updatedAt: string }
3232
*/
33-
type Item<Props, Key extends DocumentClient.Key> = Key & Props & MetaProps
33+
export type Item<Props, Key extends DocumentClient.Key> = Key & Props & MetaProps
3434

3535
/** Option for update/insert methods. */
3636
type Projection = 'Item' | 'Attributes'

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export * from './dynaModel'
2+
export * from './util/paths'

0 commit comments

Comments
 (0)