ts2kt icon indicating copy to clipboard operation
ts2kt copied to clipboard

Basic handling of typeof TypeQuery

Open epabst opened this issue 7 years ago • 2 comments

Fixes https://github.com/Kotlin/ts2kt/issues/92

epabst avatar Sep 18 '18 04:09 epabst

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.

Schahen avatar Nov 13 '18 09:11 Schahen

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?

epabst avatar Nov 13 '18 13:11 epabst