Skip to content

Conversation

@Octember
Copy link

@Octember Octember commented Dec 2, 2021

fixes #32015

In typescript 4.4, errors were changed to unknown type instead of any. With strict mode enabled, this breaks the with-typescript example as err.message isn't valid.

Thanks! my first PR here 😄

Bug

  • Related issues linked using fixes #number
  • Integration tests added
  • Errors have helpful link attached, see contributing.md

Feature

  • Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
  • Related issues linked using fixes #number
  • Integration tests added
  • Documentation added
  • Telemetry added. In case of a feature if it's used or not.
  • Errors have helpful link attached, see contributing.md

Documentation / Examples

  • Make sure the linting passes by running yarn lint

@ijjk ijjk added the examples Issue was opened via the examples template. label Dec 2, 2021
Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this also needs to be updated here

to resolve the linked issue

Copy link
Member

@balazsorban44 balazsorban44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line needs an update as well @Octember

@kodiakhq kodiakhq bot closed this in #33042 Jan 5, 2022
kodiakhq bot pushed a commit that referenced this pull request Jan 5, 2022
## Documentation / Examples

- [x] Make sure the linting passes by running `yarn lint`

Closes: #32023
Fixes: #32015
@vercel vercel locked as resolved and limited conversation to collaborators Feb 4, 2022
natew pushed a commit to natew/next.js that referenced this pull request Feb 16, 2022
…3042)

## Documentation / Examples

- [x] Make sure the linting passes by running `yarn lint`

Closes: vercel#32023
Fixes: vercel#32015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

examples Issue was opened via the examples template.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GetStaticProps type error using latest TypeScript version with strict option set to true

3 participants