Fix apple2shader types
This commit is contained in:
parent
f3f470ffc1
commit
0f66e66c0e
3
js/gl.ts
3
js/gl.ts
|
@ -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();
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue