Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

ngModelAttrs boolean config option fails apicheck #451

Closed
@ckniffen

Description

@ckniffen

Creating the following type errors in api-check when trying to set ngModelAttrs with a boolean configuration.

return {
  name: 'ipaddressMixin',
  defaultOptions: {
    templateOptions: {
      ipaddressType: 'any',
      ipaddressAllowAny: false
    },
    ngModelAttrs: {
      ipaddressType: {
        attribute: 'ip-valid'
      },
      ipaddressAllowAny: {
        boolean: 'ip-valid-allow-any'
      }
    }
  }
}

Will craft a PR.

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