Skip to content

Commit 6ca235d

Browse files
chore(): upgrade to the latest version
1 parent e649ea3 commit 6ca235d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 8 additions & 8 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
@@ -45,7 +45,7 @@
4545
"supertest": "6.1.6",
4646
"ts-jest": "27.0.5",
4747
"ts-node": "10.2.1",
48-
"typescript": "4.3.5"
48+
"typescript": "4.4.3"
4949
},
5050
"peerDependencies": {
5151
"@nestjs/common": "^6.0.0 || ^7.0.0 || ^8.0.0",

tests/e2e/schema-definitions.factory.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ describe('DefinitionsFactory', () => {
174174
DefinitionsFactory.createForClass(AmbiguousField);
175175
} catch (err) {
176176
expect(err).toBeInstanceOf(CannotDetermineTypeError);
177-
expect(err.message).toEqual(
177+
expect((err as Error).message).toEqual(
178178
'Cannot determine a type for the "AmbiguousField.randomField" field (union/intersection/ambiguous type was used). Make sure your property is decorated with a "@Prop({ type: TYPE_HERE })" decorator.',
179179
);
180180
}

0 commit comments

Comments
 (0)