We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48f2995 commit c0ea121Copy full SHA for c0ea121
src/compiler/types.ts
@@ -6526,7 +6526,7 @@ export const enum ObjectFlags {
6526
/** @internal */
6527
ContainsObjectOrArrayLiteral = 1 << 17, // Type is or contains object literal type
6528
6529
- NonInferrableType = 1 << 18, // Type is or contains anyFunctionType or silentNeverType
+ NonInferrableType = 1 << 18, // Type is or contains anyFunctionType or silentNeverType, or it's a context free `returnTypeOnly`
6530
6531
CouldContainTypeVariablesComputed = 1 << 19, // CouldContainTypeVariables flag has been computed
6532
0 commit comments