Skip to content

Commit 827e48e

Browse files
authored
bumped typescript version (#471)
* bumped typescript version * fixed ts errors
1 parent eac3e45 commit 827e48e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 3 additions & 3 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
@@ -47,7 +47,7 @@
4747
"sinon": "^9.0.2",
4848
"sinon-chai": "^3.5.0",
4949
"tsd": "^0.15.1",
50-
"typescript": "^4.1.3",
50+
"typescript": "^4.4.4",
5151
"upath": "^1.2.0"
5252
},
5353
"engines": {

packages/core/lib/patchers/aws3_p.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ const getXRayMiddleware = (config: RegionResolvedConfig, manualSegment?: Segment
144144
addFlags(http, subsegment);
145145
subsegment.close();
146146
return res;
147-
} catch (err) {
147+
} catch (err: any) {
148148
if (err.$metadata) {
149149
const [aws, http] = await buildAttributesFromMetadata(
150150
service,

0 commit comments

Comments
 (0)