Skip to content

Commit 6d3db61

Browse files
fix: make Accelerator alias of builtin string type (#179)
Co-authored-by: Samuel Attard <[email protected]>
1 parent 99b7d22 commit 6d3db61

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

base/base_inner.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
const NodeEventEmitter: typeof import('events').EventEmitter;
22

3+
type Accelerator = string;
34
type EmptyParams = {};
45
type Event<Params extends object, Sender extends NodeJS.EventEmitter> = {
56
preventDefault: () => void;
67
readonly defaultPrevented: boolean;
78
sender: Sender;
89
} & Params;
9-
10-
class Accelerator extends String {}

0 commit comments

Comments
 (0)