Skip to content

Commit

Permalink
chore(deps): bump typescript from 5.5.4 to 5.6.2 (#2071)
Browse files Browse the repository at this point in the history
* chore(deps): bump typescript from 5.5.4 to 5.6.2

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 5.6.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.5.4...v5.6.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix build

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dominik Moritz <[email protected]>
  • Loading branch information
dependabot[bot] and domoritz authored Sep 18, 2024
1 parent d264eec commit 419082c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/NodeParser/PromiseNodeParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export class PromiseNodeParser implements SubNodeParser {

const type = this.typeChecker.getTypeAtLocation(node);

//@ts-expect-error - internal typescript API
const awaitedType = this.typeChecker.getAwaitedType(type);

// ignores non awaitable types
Expand Down Expand Up @@ -61,8 +60,7 @@ export class PromiseNodeParser implements SubNodeParser {
context: Context,
): BaseType {
const type = this.typeChecker.getTypeAtLocation(node);
//@ts-expect-error - internal typescript API
const awaitedType = this.typeChecker.getAwaitedType(type);
const awaitedType = this.typeChecker.getAwaitedType(type)!;
const awaitedNode = this.typeChecker.typeToTypeNode(awaitedType, undefined, ts.NodeBuilderFlags.IgnoreErrors);

if (!awaitedNode) {
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6280,9 +6280,9 @@ typescript-memoize@^1.0.0-alpha.3:
integrity sha512-GQ90TcKpIH4XxYTI2F98yEQYZgjNMOGPpOgdjIBhaLaWji5HPWlRnZ4AeA1hfBxtY7bCGDJsqDDHk/KaHOl5bA==

typescript@^5.5.2:
version "5.5.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba"
integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==
version "5.6.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.2.tgz#d1de67b6bef77c41823f822df8f0b3bcff60a5a0"
integrity sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==

typical@^4.0.0:
version "4.0.0"
Expand Down

0 comments on commit 419082c

Please sign in to comment.