Fix apple2shader types

This commit is contained in:
Will Scullin 2022-06-15 09:42:07 -07:00
parent f3f470ffc1
commit 0f66e66c0e
No known key found for this signature in database
GPG Key ID: 26DCD1042C6638CD
3 changed files with 8 additions and 11 deletions

View File

@ -587,9 +587,6 @@ export class VideoModesGL implements VideoModes {
}
async init() {
// There is a typing bug in https://github.com/whscullin/apple2shader/blob/master/index.d.ts
// that declares initOpenGL as returning void when it actually returns Promise<void>.
// eslint-disable-next-line @typescript-eslint/await-thenable
await this._sv.initOpenGL();
this._displayConfig = this.defaultMonitor();

14
package-lock.json generated
View File

@ -9,7 +9,7 @@
"version": "0.0.1",
"license": "MIT",
"dependencies": {
"apple2shader": "0.0.3",
"apple2shader": "0.0.4",
"classnames": "^2.3.1",
"micromodal": "^0.4.2",
"preact": "^10.7.1"
@ -4245,9 +4245,9 @@
}
},
"node_modules/apple2shader": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/apple2shader/-/apple2shader-0.0.3.tgz",
"integrity": "sha512-7nAffvWdGp4FTqpDxgjslN4XqaO9FOUCKnhJ4IPQXGdyiCWIZvZ+E5gXsb+BKt0L+Fs3E5Kcn+5vOamSUSU0xA=="
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/apple2shader/-/apple2shader-0.0.4.tgz",
"integrity": "sha512-ZLEpZFsKg0JA2xUZfJpFCMDi7/kMMi0RuydkHFsC5LzFlWJzVbbPq5mX/RmRhPKXYxbFN+B8lXiMRfuDH8rquw=="
},
"node_modules/aproba": {
"version": "2.0.0",
@ -18092,9 +18092,9 @@
}
},
"apple2shader": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/apple2shader/-/apple2shader-0.0.3.tgz",
"integrity": "sha512-7nAffvWdGp4FTqpDxgjslN4XqaO9FOUCKnhJ4IPQXGdyiCWIZvZ+E5gXsb+BKt0L+Fs3E5Kcn+5vOamSUSU0xA=="
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/apple2shader/-/apple2shader-0.0.4.tgz",
"integrity": "sha512-ZLEpZFsKg0JA2xUZfJpFCMDi7/kMMi0RuydkHFsC5LzFlWJzVbbPq5mX/RmRhPKXYxbFN+B8lXiMRfuDH8rquw=="
},
"aproba": {
"version": "2.0.0",

View File

@ -64,7 +64,7 @@
"y18n": "^4.0.1"
},
"dependencies": {
"apple2shader": "0.0.3",
"apple2shader": "0.0.4",
"classnames": "^2.3.1",
"micromodal": "^0.4.2",
"preact": "^10.7.1"