-
-
Notifications
You must be signed in to change notification settings - Fork 292
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi, I've been fascinated by this project, thank you for the great work!
I'm encountering a problem where VSCode/Cursor's "Go to Definition" commands shows duplicate results for types produced by valibot.
For example:
import * as v from "valibot";
const Data = v.object({
key: v.string(),
});
const data = v.parse(Data, { key: "hello" });
// Execute "Go to Definition" on the `key` property.
// VSCode/Cursor will show four definitions, but all of
// them points to the exact same location (the second line).
console.log(data.key);(Full repro repo: https://github.com/RyotaUshio/valibot-repro)
Result:
Environment:
- valibot: 1.1.0
- typescript: 5.9.3
- VSCode: 1.105.1
- Cursor: 2.0.38
- macOS: 15.5
I would appreciate it if you could help me resolve this issue. Thank you 🙏
dosubot
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

