if i export a type that uses typeof
export type myType = typeof(workspace.SpawnLocation)
and then try to clone that instance it gives the error:
Type Error: Type 'SpawnLocation' from 'DataModel' could not be converted into 'SpawnLocation' from 'DataModel'
how to reproduce:
-
enable the new type solver
-
create a modulescript
export type myType = typeof(workspace.SpawnLocation)
return {}
- create a script
local module = require(game.ServerStorage.ModuleScript)
local sl: module.myType = workspace.SpawnLocation:Clone()
if you don’t see the error try closing and reopening the script it does not always show

