Comment Comment by Gunax It seems like the issue then is that int can be nullable. The solution is to make int an int. You cannot assign None to int.I'm not an expert on programming languages, but asaik this is how typescript operates parent Gunax 3 years ago
I'm not an expert on programming languages, but asaik this is how typescript operates