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 151fac9 commit ff42c3dCopy full SHA for ff42c3d
src/compiler/transformers/ts.ts
@@ -1934,6 +1934,12 @@ namespace ts {
1934
case SyntaxKind.ConditionalType:
1935
return serializeTypeList([(<ConditionalTypeNode>node).trueType, (<ConditionalTypeNode>node).falseType]);
1936
1937
+ case SyntaxKind.TypeOperator:
1938
+ if ((<TypeOperatorNode>node).operator === SyntaxKind.ReadonlyKeyword) {
1939
+ return serializeTypeNode((<TypeOperatorNode>node).type);
1940
+ }
1941
+ break;
1942
+
1943
case SyntaxKind.TypeQuery:
1944
case SyntaxKind.TypeOperator:
1945
case SyntaxKind.IndexedAccessType:
0 commit comments