aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/src/lustre.gleam2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/src/lustre.gleam b/lib/src/lustre.gleam
index 840b82a..4f8249a 100644
--- a/lib/src/lustre.gleam
+++ b/lib/src/lustre.gleam
@@ -77,6 +77,8 @@ pub fn start(
flags: flags,
) -> Result(fn(msg) -> Nil, Error)
+@target(javascript)
+///
@external(javascript, "./lustre.ffi.mjs", "destroy")
pub fn destroy(app: App(flags, model, msg)) -> Result(Nil, Error)