@difizen/mana-core
Version:
18 lines (15 loc) • 395 B
text/typescript
import { Event } from '@difizen/mana-common';
import { singleton } from '@difizen/mana-syringe';
import type { WindowService } from './application-protocol';
()
export class MockWindowService implements WindowService {
openNewWindow(): undefined {
return undefined;
}
canUnload(): boolean {
return true;
}
get onUnload(): Event<void> {
return Event.None;
}
}