File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ repository.workspace = true
10
10
11
11
[lib ]
12
12
name = " frontend"
13
- path = " /dev/null "
13
+ path = " bindings.rs "
14
14
crate-type = [" lib" ]
15
15
16
16
[build-dependencies ]
Original file line number Diff line number Diff line change 1
1
// Some structs that must be redefined for transpiling without changing actual types on backend
2
2
3
+ use tsync:: tsync;
4
+
3
5
#[ tsync]
4
6
pub type Hostname = String ;
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ pub fn build_types() {
62
62
63
63
inputs[ 0 ] . push ( "backend" ) ;
64
64
inputs[ 1 ] . push ( "frontend" ) ;
65
- inputs[ 1 ] . push ( "frontend .rs" ) ;
65
+ inputs[ 1 ] . push ( "bindings .rs" ) ;
66
66
output. push ( "src/types/rust.d.ts" ) ;
67
67
68
68
tsync:: generate_typescript_defs ( inputs, output, false ) ;
You can’t perform that action at this time.
0 commit comments