ts2kt
ts2kt copied to clipboard
Basic handling of typeof TypeQuery
Fixes https://github.com/Kotlin/ts2kt/issues/92
Let's discuss. It seems to me that in this particular case we can try to go further and substitute typeof Something with just Something.
I love that idea. Are there cases where we don't actually have access to know what type the variable is?
How about this change be accepted for now since it does better than simply failing and skipping the var completely?