Open justinfagnani opened 4 years ago
Is this a problem that you are experiencing when running the CLI or when using the analyzeText
function?
Typescript strips undefined
and null
from the reported type if strictNullChecks
is false, and it seems like I forgot to add it to compiler options when calling analyzeText
:
Is this still an issue, or did I fix it by adding strictNullChecks
to compiler options for analyzeText
?
The type is reported as
"type": "\"type\" | \"large\""
, but should be"type": "\"type\" | \"large\" | undefined"
.