Skip to content

Update typescript and fix dts syntax#3366

Merged
extremeheat merged 1 commit into
PrismarineJS:masterfrom
mallusrgreatv2:master
Jun 1, 2024
Merged

Update typescript and fix dts syntax#3366
extremeheat merged 1 commit into
PrismarineJS:masterfrom
mallusrgreatv2:master

Conversation

@mallusrgreatv2
Copy link
Copy Markdown
Contributor

Updates typescript version and makes changes in the definition file to fix syntax.

@socket-security
Copy link
Copy Markdown

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

🚮 Removed packages: npm/mineflayer@3.18.0, npm/node-canvas-webgl@0.2.7, npm/three@0.126.1

View full report↗︎

@mallusrgreatv2 mallusrgreatv2 changed the title chore: update typescript Update typescript and fix dts syntax May 2, 2024
Copy link
Copy Markdown
Member

@extremeheat extremeheat left a comment

Choose a reason for hiding this comment

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

LGTM, but we should have a way to test out the types to make sure they're valid at least

Comment thread package.json
"standard": "^17.0.0",
"standard-markdown": "^7.1.0",
"typescript": "^5.0.3"
"typescript": "^5.4.5"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

since we are using the ^ (caret) operator, npm will automatically install the latest version of typescript@5.* , see https://docs.npmjs.com/cli/v6/using-npm/semver#caret-ranges-123-025-004

@extremeheat extremeheat merged commit 315cdfc into PrismarineJS:master Jun 1, 2024
AreaDenial added a commit to AreaDenial/mineflayer that referenced this pull request Jun 5, 2024
Fix typescript types syntax for setCommandBlock (PrismarineJS#3366)
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.

2 participants