mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Fix apple2shader types
This commit is contained in:
@@ -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();
|
||||
|
||||
Generated
+7
-7
@@ -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",
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user