@@ -1363,26 +1363,26 @@ declare module '@xterm/headless' {
1363
1363
* EXPERIMENTAL:
1364
1364
* Module exposure of certain building blocks to be used at runtime in addons.
1365
1365
*/
1366
- export interface ISharedExports {
1367
- readonly DisposableStore : new ( ) => IDisposableStore ;
1368
- readonly Emitter : new < T > ( ) => IEmitter < T > ;
1369
- readonly toDisposable : ( fn : ( ) => void ) => IDisposable ;
1370
- }
1371
-
1372
- export const sharedExports : ISharedExports ;
1373
-
1374
- // FIXME: @Tyriar - plz have a look at the following interfaces and
1375
- // to what degree those should be exposed or get stripped down
1376
- export interface IEmitter < T > extends IDisposable {
1377
- event : IEvent < T > ;
1378
- fire ( event : T ) : void ;
1379
- hasListeners ( ) : boolean ;
1380
- }
1381
- export interface IDisposableStore extends IDisposable {
1382
- isDisposed : boolean ;
1383
- clear ( ) : void ;
1384
- add < T extends IDisposable > ( o : T ) : T ;
1385
- delete < T extends IDisposable > ( o : T ) : void ;
1386
- deleteAndLeak < T extends IDisposable > ( o : T ) : void ;
1387
- }
1366
+ export interface ISharedExports {
1367
+ readonly DisposableStore : new ( ) => IDisposableStore ;
1368
+ readonly Emitter : new < T > ( ) => IEmitter < T > ;
1369
+ readonly toDisposable : ( fn : ( ) => void ) => IDisposable ;
1370
+ }
1371
+
1372
+ export const sharedExports : ISharedExports ;
1373
+
1374
+ // FIXME: @Tyriar - plz have a look at the following interfaces and
1375
+ // to what degree those should be exposed or get stripped down
1376
+ export interface IEmitter < T > extends IDisposable {
1377
+ event : IEvent < T > ;
1378
+ fire ( event : T ) : void ;
1379
+ hasListeners ( ) : boolean ;
1380
+ }
1381
+ export interface IDisposableStore extends IDisposable {
1382
+ isDisposed : boolean ;
1383
+ clear ( ) : void ;
1384
+ add < T extends IDisposable > ( o : T ) : T ;
1385
+ delete < T extends IDisposable > ( o : T ) : void ;
1386
+ deleteAndLeak < T extends IDisposable > ( o : T ) : void ;
1387
+ }
1388
1388
}
0 commit comments