Skip to content

Commit

Permalink
test: remove non-existent FileChanged event
Browse files Browse the repository at this point in the history
It looks like this was removed in:
OverlayPlugin/OverlayPlugin#165
  • Loading branch information
quisquous committed Oct 27, 2023
1 parent 0d2cece commit 8522222
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions types/event.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,6 @@ export interface EventMap {
charName: string;
}) => void;

'FileChanged': (ev: {
type: 'FileChanged';
file: string;
}) => void;

'OnlineStatusChanged': (ev: {
type: 'OnlineStatusChanged';
target: string;
Expand Down
4 changes: 0 additions & 4 deletions ui/test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,4 @@ addOverlayListener('onUserFileChanged', (e) => {
console.log(`User file ${e.file} changed!`);
});

addOverlayListener('FileChanged', (e) => {
console.log(`File ${e.file} changed!`);
});

void callOverlayHandler({ call: 'cactbotRequestState' });

0 comments on commit 8522222

Please sign in to comment.