UNPKG
@exezt-/webamp-custom
Version:
latest (0.0.2-next-d2fcbc6)
0.0.2-next-d2fcbc6
0.0.1-next-d2fcbc6
Winamp 2 implemented in HTML5 and JavaScript
@exezt-/webamp-custom
/
built
/
types
/
js
/
Disposable.d.ts
12 lines
(11 loc)
•
240 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
type
Teardown
= (
() =>
void
) | {
dispose
:
() =>
void
; };
export
default
class
Disposable
{
_teardowns
:
Teardown
[];
disposed
:
boolean
;
constructor
(
);
add
(...
teardowns
:
Teardown
[]):
void
;
dispose
():
void
; }
export
{};