modules give type errors #1016
foodeggs-7
started this conversation in
General
Replies: 1 comment
-
To make it work correctly, you need a It is structured like below: {
"name": "Game",
"className": "DataModel",
"filePaths": [],
"children": [
{
"name": "ReplicatedStorage",
"className": "ReplicatedStorage",
"filePaths": [],
"children": [
{
"name": "Modules",
"className": "Folder",
"filePaths": [],
"children": [
{
"name": "Script",
"className": "ModuleScript",
"filePaths": ["src/shared/Script.luau"]
},
{
"name": "Script2",
"className": "ModuleScript",
"filePaths": ["src/shared/Script2.luau"]
}
]
},
{
"name": "OtherScript",
"className": "ModuleScript",
"filePaths": ["src/OtherScript.luau"],
"children": []
}
]
}
]
} You create a tree based off your Roblox structure, and then the If you're using Rojo, this should get autogenerated from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
in vs code theres not the same folder structure as roblox so all requred modules give type errors even when i recreate a folder structure how can i fix this errors would like to iuse the file synch to work from vs code but how can i get the same folder structure so the type system get the corect modules as there also modules in modules
Beta Was this translation helpful? Give feedback.
All reactions