Skip to content

Conversation

@teykamp
Copy link
Collaborator

@teykamp teykamp commented Aug 8, 2025

fixed a few type imports causing type errors during pnpm build:types

@teykamp teykamp added the code cleanup improve suboptimal code label Aug 8, 2025
const treeArr = props.tree.tree
.toArray()
.filter((num) => num !== undefined);
.filter((num): num is number => num !== undefined);
Copy link
Owner

Choose a reason for hiding this comment

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

Copy link
Owner

@Yonava Yonava Aug 9, 2025

Choose a reason for hiding this comment

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

It looks like we are running TS version 5.4. Lets try to just bump it up a couple minors instead

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sounds good!

@Yonava Yonava merged commit 38f6b28 into main Aug 11, 2025
1 check passed
@Yonava Yonava deleted the te/fix-ts-errors branch August 11, 2025 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code cleanup improve suboptimal code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants