Skip to content

Commit 755a262

Browse files
authored
Typesafety! (#75)
* oh my god * DELETED!
1 parent 2b76070 commit 755a262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/extract-stack/src/create-event.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ export function createEvent<
6060
source,
6161
type,
6262
shape: {
63-
properties: propertiesShape,
64-
metadata: metadataShape,
63+
properties: {} as Properties<Shape>,
64+
metadata: {} as Parameters<Publish<Shape, MetadataShape>>[1],
6565
metadataFn: undefined,
6666
},
6767
};

0 commit comments

Comments
 (0)