You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search Terms:
This is unknown parent for type parameter
Code
interface i { a: number; }
type x = { [K in Exclude<keyof i, keyof j>]: i[K]; }
Step
Run command 'tsc a.ts' and 'tsc a.ts --declaration true'
The output of command 'tsc a.ts' is right, "error TS2304: Cannot find name 'j'".
But command 'tsc a.ts --declaration true' output something wrong in tsc:
C:\Users\bysdxt\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:63860
throw e;
^
Error: Debug Failure. This is unknown parent for type parameter: 176
The text was updated successfully, but these errors were encountered:
TypeScript Version: 2.9.2
Search Terms:
This is unknown parent for type parameter
Code
interface i { a: number; }
type x = { [K in Exclude<keyof i, keyof j>]: i[K]; }
Step
Run command 'tsc a.ts' and 'tsc a.ts --declaration true'
The output of command 'tsc a.ts' is right, "error TS2304: Cannot find name 'j'".
But command 'tsc a.ts --declaration true' output something wrong in tsc:
C:\Users\bysdxt\AppData\Roaming\npm\node_modules\typescript\lib\tsc.js:63860
throw e;
^
Error: Debug Failure. This is unknown parent for type parameter: 176

The text was updated successfully, but these errors were encountered: