Skip to content

Commit 46cd982

Browse files
committed
compile error fix
1 parent 872eda8 commit 46cd982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/macros/src/ts/gen_ts_code.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub fn gen_ts_code(
3434
sorter(&mut imports);
3535
for to_import in imports {
3636
// Do not import current interface
37-
if to_import == struct_name {
37+
if to_import == struct_name.as_str() {
3838
continue;
3939
}
4040

0 commit comments

Comments
 (0)