Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS调用getItemNeighbors返回的类型有误 #827

Open
NightBreezeCQ opened this issue Apr 25, 2024 · 1 comment
Open

TS调用getItemNeighbors返回的类型有误 #827

NightBreezeCQ opened this issue Apr 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@NightBreezeCQ
Copy link

gorse.getItemNeighbors()方法返回的类型提示是string[],但实际上是{
Id: string;
Score: number;
}[]

@NightBreezeCQ NightBreezeCQ added the bug Something isn't working label Apr 25, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The type hint returned by the gorse.getItemNeighbors() method is string[], but it is actually {
Id: string;
Score: number;
}[]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants