Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions crates/codegen/src/typescript.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl Lang for TypeScript {

writeln!(
out,
"import {{ EventContext, Reducer, RemoteReducers, RemoteTables }} from \".\";"
"import {{ type EventContext, type Reducer, RemoteReducers, RemoteTables }} from \".\";"
);

let table_name = table.name.deref();
Expand Down Expand Up @@ -636,16 +636,16 @@ fn print_spacetimedb_imports(out: &mut Indenter) {
"DbConnectionBuilder",
"TableCache",
"BinaryWriter",
"CallReducerFlags",
"EventContextInterface",
"ReducerEventContextInterface",
"SubscriptionEventContextInterface",
"ErrorContextInterface",
"type CallReducerFlags",
"type EventContextInterface",
"type ReducerEventContextInterface",
"type SubscriptionEventContextInterface",
"type ErrorContextInterface",
"SubscriptionBuilderImpl",
"BinaryReader",
"DbConnectionImpl",
"DbContext",
"Event",
"type DbContext",
"type Event",
"deepEqual",
];
types.sort();
Expand Down
Loading
Loading