Closed bdkopen closed 8 months ago
Add missing properties to the Version function interface based on the properties returned. This now matches with the returned format of the type tests.
Version
Version { dataVersion: undefined, '>=': [Function (anonymous)], '>': [Function (anonymous)], '<': [Function (anonymous)], '<=': [Function (anonymous)], '==': [Function (anonymous)], type: 'bedrock', majorVersion: '0.14', version: 70, minecraftVersion: '0.14.3' }
switched the versions variable to use type ProtocolVersion instead of Version[]. This matches with what versions is assigned to in the code.
versions
ProtocolVersion
Version[]
Add missing properties to the
Version
function interface based on the properties returned. This now matches with the returned format of the type tests.switched the
versions
variable to use typeProtocolVersion
instead ofVersion[]
. This matches with whatversions
is assigned to in the code.