diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2023-09-09 23:20:10 +0100 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2023-09-09 23:20:10 +0100 |
commit | 3231cfbd7daeb084e0867fe1578d83b9d230a4b8 (patch) | |
tree | 93ae73810928d50881e8ceada6ab359fcf6d9926 /lib/src/lustre.gleam | |
parent | 543e05fc914f24a4f609887b673b05dfa2879d88 (diff) | |
download | lustre-v3.0.0.tar.gz lustre-v3.0.0.zip |
Diffstat (limited to 'lib/src/lustre.gleam')
-rw-r--r-- | lib/src/lustre.gleam | 2 |
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) |