mirror of
https://github.com/littensy/charm.git
synced 2026-10-21 11:44:08 +00:00
fix: remove observe type union (#15)
This commit is contained in:
parent
e39ef14e16
commit
72211a674e
1 changed files with 1 additions and 4 deletions
|
|
@ -44,7 +44,4 @@ local function observe<K, V>(molecule: Molecule<{ [K]: V }>, factory: (value: V,
|
||||||
return cleanup
|
return cleanup
|
||||||
end
|
end
|
||||||
|
|
||||||
return observe :: <K, V>(
|
return observe
|
||||||
molecule: Molecule<{ [K]: V }>,
|
|
||||||
factory: ((value: V, key: K) -> () -> ()) | (value: V, key: K) -> ()
|
|
||||||
) -> () -> ()
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue