We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a6ef5 commit eb44a7aCopy full SHA for eb44a7a
src/index.ts
@@ -41,7 +41,7 @@ function getButtons(toolbar: Element): HTMLElement[] {
41
return els
42
}
43
44
-function keydown(fn: (arg0: KeyboardEvent) => void): (arg0: KeyboardEvent) => void {
+function keydown(fn: (event: KeyboardEvent) => void): (event: KeyboardEvent) => void {
45
return function (event: KeyboardEvent) {
46
if (event.key === ' ' || event.key === 'Enter') {
47
event.preventDefault()
tsconfig.json
@@ -1,6 +1,6 @@
1
{
2
"compilerOptions": {
3
- "module": "esnext",
+ "module": "es2020",
4
"target": "es2017",
5
"strict": true,
6
"declaration": true,
0 commit comments