PrismarineJS / bedrock-protocol

Minecraft Bedrock protocol library, with authentication and encryption
https://prismarinejs.github.io/minecraft-data/?v=bedrock_1.17.10&d=protocol
MIT License
288 stars 68 forks source link

Add missing versions to type definitions #510

Open CreeperG16 opened 1 week ago

CreeperG16 commented 1 week ago

Add 1.20.50, 1.20.61, 1.20.71, 1.20.80 and 1.21.0 to index.d.ts

On a slight tangent, this project's type definitions are still very incomplete and/or incorrect While they might not be necessary for using the library in JavaScript, it makes it irritatingly difficult for people who choose to use this library in TypeScript. Additionally, new users of the project might rely on their IDE's autocomplete instead of reading the documentation at first. I may contribute updated type definitions later on to solve this issue.

rom1504 commented 1 week ago

Without tests the type definitions will stay outdated