Skip to content

IOptions is a type, but not a namespace #219

Description

@JamieKCarson
ERROR in node_modules/simple-react-validator/src/index.d.ts(52,13):
TS2713: Cannot access 'IOptions.messages' because 'IOptions' is a type, but not a namespace. Did you mean to retrieve the type of the property 'messages' in 'IOptions' with 'IOptions["messages"]'?

TS2713: Cannot access 'IOptions.className' because 'IOptions' is a type, but not a namespace. Did you mean to retrieve the type of the property 'className' in 'IOptions' with 'IOptions["className"]'?

TS2713: Cannot access 'IOptions.autoForceUpdate' because 'IOptions' is a type, but not a namespace. Did you mean to retrieve the type of the property 'autoForceUpdate' in 'IOptions' with 'IOptions["autoForceUpdate"]'?

TS2713: Cannot access 'IOptions.element' because 'IOptions' is a type, but not a namespace. Did you mean to retrieve the type of the property 'element' in 'IOptions' with 'IOptions["element"]'?

Getting the following build errors on versions 1.4.5 & 1.4.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions