rbxts-flamework / core

Flamework is an extensible game framework. It requires typescript and offers many useful features.
MIT License
112 stars 8 forks source link

Type guard generation should support index signatures #58

Closed Fireboltofdeath closed 2 years ago

Fireboltofdeath commented 2 years ago

Record<string, number> generates as an empty object (t.any())

Ideally, this should support index signatures for objects with members as well.

Fireboltofdeath commented 2 years ago

https://github.com/rbxts-flamework/transformer/commit/cf4d5ed7dcca5ad6c49befb7f674aa3ee1b959a7