**TypeScript Version:** nightly (2.2.0-dev.20161128) **Code** ```ts propIs<T, V, K extends keyof V>(type: T, name: K, obj: V): V[K] is T; ``` **Expected behavior:** TS being totally cool with `V[K] is T`. **Actual behavior:** Nope, many syntax errors.
TypeScript Version: nightly (2.2.0-dev.20161128)
Code
Expected behavior:
TS being totally cool with
V[K] is T.Actual behavior:
Nope, many syntax errors.