Skip to content

Commit 760f87d

Browse files
committed
chore: update gitignore and refactor error type definition
add missing build directories to gitignore refactor Error_ type to use struct-like syntax for better clarity
1 parent 1a10836 commit 760f87d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
node_modules/
22
target/
3+
target
4+
_build/
35
.mooncakes/
46
.DS_Store

src/js/error.mbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
///|
2-
pub suberror Error_ Value
2+
pub suberror Error_ {
3+
Error_(Value)
4+
}
35

46
///|
57
extern "js" fn Error_::cause_ffi(self : Value) -> Value = "(self) => self.cause"

0 commit comments

Comments
 (0)