Type 'RecipeTypeFunction' has no call signatures.
realspinelle opened this issue ยท 1 comments
i know why there is that error but i would like to know if there is a way to fix it
im using probejs while using typescript i got types working by using
/// <reference path="path" />and while using
ServerEvents.recipes(event => {
event.shapeless(
Item.of('minecraft:cobblestone', 1),
[
Item.of('botania:pebble', 4),
]
)
});i get Type 'RecipeTypeFunction' has no call signatures. on event.shapeless() cause RecipeTypeFunction is a class i guess ?? problem is i dont see how to fix that currently