refactor: raise Typescript version to 4.4.4

This commit is contained in:
Frank Nagel
2022-03-17 15:16:55 +01:00
committed by Rainer Killinger
parent 6e94e1f7e5
commit 2212e0723e
4 changed files with 7 additions and 6 deletions

6
package-lock.json generated
View File

@@ -8970,9 +8970,9 @@
} }
}, },
"typescript": { "typescript": {
"version": "3.9.10", "version": "4.4.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz",
"integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", "integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==",
"dev": true "dev": true
}, },
"uglify-js": { "uglify-js": {

View File

@@ -89,7 +89,7 @@
"supertest": "6.2.2", "supertest": "6.2.2",
"tslint": "6.1.3", "tslint": "6.1.3",
"typedoc": "0.22.13", "typedoc": "0.22.13",
"typescript": "3.9.10" "typescript": "4.4.4"
}, },
"nyc": { "nyc": {
"all": true, "all": true,

View File

@@ -35,7 +35,7 @@ export class BackendTransport {
/** /**
* One (and only one) instance of the backend transport * One (and only one) instance of the backend transport
*/ */
private static _instance: BackendTransport; private static _instance?: BackendTransport;
/** /**
* Stores information if transport is in state of waiting for the verification * Stores information if transport is in state of waiting for the verification

View File

@@ -1,7 +1,8 @@
{ {
"extends": "./node_modules/@openstapps/configuration/tsconfig.json", "extends": "./node_modules/@openstapps/configuration/tsconfig.json",
"compilerOptions": { "compilerOptions": {
"resolveJsonModule": true "resolveJsonModule": true,
"useUnknownInCatchVariables": false
}, },
"exclude": [ "exclude": [
"./config/", "./config/",