BRO is export type broken?

Hey there!

So i’m trying to export a type for my update log to speed the coding process up by quite a lot. The export type is for some reason not working though…

From modulescript:

export type update = {
	Title: string;
	Time: number;
	Icon: string;
	AppearSecret: boolean;
	Update: { [string]: {string} }
}

Trying to get the type from a localscript:

local config = require(game.ReplicatedStorage:WaitForChild("Modules").Configs.UpdateLog)

local function load(update: config.update)
	
end

Anyone knows why?

I think ever since roblox has been rolling out updates to studio some things broke. For me, I cant index some properties even after defining the type

Hi @Illusi_nz

Can you open the beta feature dialog and see new Luau type solver is enabled? If so, can you try to disable it?

Thank you!

image
Ya it’s not enabled

Not sure if any other beta feature is causing it… I didn’t add any beta features since 2024 so I don’t think it’s a beta feature

image
colors are fixed now but I still can’t access it from my localscript

Can you check Incremental typechecking beta feature is enabled or not? If yes, would you try to disable it?

image
Ya I have it off. Still doesn’t work


It doesn’t find the type in the module when I do config.update (no typecheck to finish “update” and if I write “update” and try to use it as a typechecker it doesnt work.)

Mb. This was an error on my end. I had 2 modules called “UpdateLog” in the folder “Configs”

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.