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 5660f03 commit ffa0b5cCopy full SHA for ffa0b5c
internal/checker/nodebuilder.go
@@ -1293,7 +1293,7 @@ func (b *NodeBuilder) createMappedTypeNodeFromType(type_ *Type) *ast.TypeNode {
1293
}
1294
var questionToken *ast.Node
1295
if mapped.declaration.QuestionToken != nil {
1296
- readonlyToken = b.f.NewToken(mapped.declaration.QuestionToken.Kind)
+ questionToken = b.f.NewToken(mapped.declaration.QuestionToken.Kind)
1297
1298
var appropriateConstraintTypeNode *ast.Node
1299
var newTypeVariable *ast.Node
0 commit comments