Skip to content

Commit fee9936

Browse files
authored
Merge pull request #23 from github/update-typescript
Update typescript
2 parents 85c4687 + da9c882 commit fee9936

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

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
@@ -47,6 +47,6 @@
4747
"karma-mocha-reporter": "^2.2.5",
4848
"mocha": "^9.2.0",
4949
"tslib": "^2.1.0",
50-
"typescript": "^4.2.2"
50+
"typescript": "^4.7.4"
5151
}
5252
}

src/aggregateerror.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export class AggregateError extends Error {
22
declare errors: unknown[]
3-
declare cause: unknown
3+
declare cause: Error | undefined
44

55
constructor(errors: unknown[], message: string, options: {cause?: unknown} = {}) {
66
super(message)

0 commit comments

Comments
 (0)