Type hint Warning
RuboGubo opened this issue · 0 comments
RuboGubo commented
Issue Type: Feature Request
@DataClass
class Entity:
TotalValue: float
debtor: str
creditor: str
x = Entity(3.2, 'George', 'Fred')
x.debtor = 8
The IDE does not warn you that you have used an int instead of a string despite type hint
Extension version: 1.1.0
VS Code version: Code 1.55.0 (c185983a683d14c396952dd432459097bc7f757f, 2021-03-30T16:01:55.261Z)
OS version: Windows_NT x64 10.0.19042