Skip to content

Commit

Permalink
Bump browser TS version to 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Nov 24, 2023
1 parent 5600237 commit 4d3935d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"style-loader": "^0.23.1",
"ts-jest": "^25.0.0",
"ts-loader": "^8.0.2",
"typescript": "^3.9.5",
"typescript": "^4.1.5",
"typescript-plugin-styled-components": "^1.5.0",
"url-loader": "^1.1.2",
"wait-on": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/neo4j-arc/common/utils/objectUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ export function mapObjectValues<A, B>(
}

export function keys<T>(object: T): Array<keyof T> {
return Object.keys(object) as Array<keyof T>
return Object.keys(object as any) as Array<keyof T>
}
2 changes: 1 addition & 1 deletion src/shared/services/bolt/driverFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const createDriverOrFailFn = (
try {
const res = neo4j.driver(url, auth, spreadOpts)
return res
} catch (e) {
} catch (e: any) {
failFn(e)
return null
}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/services/bolt/globalDrivers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const buildGlobalDriversObject = async (
)
routed && (await routed.verifyConnectivity())
routingSupported = true
} catch (e) {
} catch (e: any) {
if (e && isNonSupportedRoutingSchemeError(e)) {
routingSupported = false
failFn(e)
Expand Down
2 changes: 1 addition & 1 deletion src/shared/services/commandInterpreterHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ const availableCommands = [
put(updateQueryResult(action.requestId, null, 'success'))
}
return true
} catch (error) {
} catch (error: any) {
if (!action.parentId) {
put(
frames.add({
Expand Down
7 changes: 6 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13934,11 +13934,16 @@ typescript-plugin-styled-components@^1.5.0:
resolved "https://registry.npmjs.org/typescript-plugin-styled-components/-/typescript-plugin-styled-components-1.6.0.tgz"
integrity sha512-cUCbOuY0iNr1JjPYC5MqCiABrfv2ouLift+7gi4vS0gBPQySUT006wHCjwzynMfU5LGMQaZqpssAgzRRjt30Ng==

typescript@^3.2.1, typescript@^3.9.3, typescript@^3.9.5:
typescript@^3.2.1, typescript@^3.9.3:
version "3.9.10"
resolved "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz"
integrity "sha1-cPORCselHta+952ngAaQsZv3eLg= sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q=="

typescript@^4.1.5:
version "4.9.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==

uglify-js@3.4.x:
version "3.4.10"
resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz"
Expand Down

0 comments on commit 4d3935d

Please sign in to comment.