Skip to content

The error "Object is possibly null or undefined" is ambiguous. #8274

@tinganho

Description

@tinganho

I have problem distinguishing if the accessor options or headers or both is possibly undefined or null below.

screen shot 2016-04-24 at 19 22 31

Can it instead of using the text Object is possibly... output the accessor expression 'this.option.headers' is possibly ...?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Error MessagesThe issue relates to error messagingGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions