mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Vendored
+2
-2
@@ -18,11 +18,11 @@ interface ElmComponent<P> {
|
||||
ports: P;
|
||||
}
|
||||
|
||||
interface PortToElm<V> {
|
||||
interface PortToElm<V> {
|
||||
send(value: V): void;
|
||||
}
|
||||
|
||||
interface PortFromElm<V> {
|
||||
subscribe(handler: (value: V) => void): void;
|
||||
unsubscribe(handler: (value: V) => void): void;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user