Skip to content

Upgrade to TypeScript 5 #4635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 5, 2023
Merged

Upgrade to TypeScript 5 #4635

merged 4 commits into from
Jun 5, 2023

Conversation

devongovett
Copy link
Member

Upgrades to Typescript 5.0.4. 5.1 appears to have one issue breaking the lodash types, which are for some reason loaded (storybook I think). microsoft/TypeScript#53514 DefinitelyTyped/DefinitelyTyped#65674

@rspbot
Copy link

rspbot commented Jun 5, 2023

@rspbot
Copy link

rspbot commented Jun 5, 2023

LFDanLu
LFDanLu previously approved these changes Jun 5, 2023
@@ -44,7 +44,7 @@ function MyApp({ Component, pageProps }: AppProps) {
</ActionButton>
</Flex>
<View>
{/* @ts-ignore */}
{/* @ts-ignore - https://github.com/vercel/next.js/issues/49610 */}
Copy link
Member

Choose a reason for hiding this comment

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

Just a heads up but apparently bumping to TS5.1.3 fixed this issue. Fine with keeping this ignore for now anyways since it isn't a RSP issue

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah but then we have the lodash issue I mentioned in the description 🙃

Copy link
Member

Choose a reason for hiding this comment

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

Ahhh, so we want the project's TS version to exactly match the test app's TS version?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah I can try upgrading just the example to the latest yeah

Copy link
Member

@snowystinger snowystinger left a comment

Choose a reason for hiding this comment

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

snowystinger
snowystinger previously approved these changes Jun 5, 2023
@devongovett devongovett dismissed stale reviews from snowystinger and LFDanLu via cdc6890 June 5, 2023 21:33
@rspbot
Copy link

rspbot commented Jun 5, 2023

@rspbot
Copy link

rspbot commented Jun 5, 2023

## API Changes

unknown top level export { type: 'identifier', name: 'Column' }
unknown top level export { type: 'identifier', name: 'Column' }
unknown type { type: 'link' }
unknown type { type: 'link' }
unknown type { type: 'link' }
unknown type { type: 'link' }
unknown type { type: 'link' }
unknown type { type: 'link' }

@devongovett devongovett merged commit fc1460f into main Jun 5, 2023
@devongovett devongovett deleted the ts5 branch June 5, 2023 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants