using the new type solver
type AudioPlayerProperties = {
Asset:number?,
AutoLoad:boolean?,
AutoPlay:boolean?,
IsPlaying:boolean?,
Looping:boolean?,
PlaybackSpeed:number?,
TimePosition:number?,
Volume:number?
}
local AudioPlayer:AudioPlayerProperties = table.freeze{
Asset = 123,
AutoLoad = false,
AutoPlay = false,
IsPlaying = false,
Looping = false,
PlaybackSpeed = 1,
TimePosition = 0,
Volume = 1
}
return AudioPlayer
no autocompletion when writing out the properties, works normally if you remove the table.freeze
Expected behavior
autocomplete should work properly