UNPKG
tauri-pty
Version:
latest (0.3.1)
0.3.1
0.3.0
0.2.1
0.2.0
0.1.1
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
API package for tauri-plugin-pty
github.com/Tnze/tauri-plugin-pty
Tnze/tauri-plugin-pty
tauri-pty
/
dist
/
types
/
eventEmitter2.d.ts
11 lines
(10 loc)
•
248 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
IDisposable
}
from
"."
;
export
interface
IEvent
<T> { (
listener
:
(
e
: T
) =>
any
):
IDisposable
; }
export
declare
class
EventEmitter2
<T> {
private
_listeners;
private
_event?;
get
event
():
IEvent
<T>;
fire
(
data
: T):
void
; }