Closed FelipeMartinsFrudeli closed 9 months ago
Looks weird to me
You're already able to use the Player
type in roblox-ts. The change made in this PR declares a Player
constant that does not exist in roblox, which makes it able to be imported and used in TypeScript as a constant but in practice it's just nil
. That class example already compiles and works without the need of importing the type:
The class will able to receive Player type in params
. .
Example:
main.client.ts
playerSetup.ts