Skip to content

Commit 9aa6e15

Browse files
committed
clean up
1 parent 1616651 commit 9aa6e15

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

frontend/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository.workspace = true
1010

1111
[lib]
1212
name = "frontend"
13-
path = "/dev/null"
13+
path = "bindings.rs"
1414
crate-type = ["lib"]
1515

1616
[build-dependencies]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Some structs that must be redefined for transpiling without changing actual types on backend
22

3+
use tsync::tsync;
4+
35
#[tsync]
46
pub type Hostname = String;

frontend/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub fn build_types() {
6262

6363
inputs[0].push("backend");
6464
inputs[1].push("frontend");
65-
inputs[1].push("frontend.rs");
65+
inputs[1].push("bindings.rs");
6666
output.push("src/types/rust.d.ts");
6767

6868
tsync::generate_typescript_defs(inputs, output, false);

0 commit comments

Comments
 (0)