Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 71ec69f

Browse files
committed
Update the TS version
1 parent 4212ec3 commit 71ec69f

4 files changed

Lines changed: 11 additions & 9 deletions

File tree

‎package-lock.json‎

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"ts-jest": "29.2.5",
6262
"typedoc": "^0.17.8",
6363
"typedoc-plugin-markdown": "^2.4.2",
64-
"typescript": "^4.3.5"
64+
"typescript": "^4.9.3"
6565
},
6666
"binary": {
6767
"napi_versions": [

‎src/lib/QtGui/QScreen.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { QSizeF } from '../QtCore/QSizeF';
66
import { QSize } from '../QtCore/QSize';
77
import { wrapperCache } from '../core/WrapperCache';
88
import { QPixmap } from './QPixmap';
9+
import { ScreenOrientation } from '../QtEnums/ScreenOrientation';
910

1011
export class QScreen extends QObject<QScreenSignals> {
1112
constructor(native: NativeElement) {

‎tsconfig.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"strictNullChecks": false,
1010
"moduleResolution": "node",
1111
"esModuleInterop": true,
12-
"resolveJsonModule": true
12+
"resolveJsonModule": true,
13+
"lib": ["ES2021"]
1314
},
1415
"include": ["src"],
1516
"typedocOptions": {

0 commit comments

Comments
 (0)