mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +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
|
||||
end
|
||||
|
||||
return observe :: <K, V>(
|
||||
molecule: Molecule<{ [K]: V }>,
|
||||
factory: ((value: V, key: K) -> () -> ()) | (value: V, key: K) -> ()
|
||||
) -> () -> ()
|
||||
return observe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue