{"action":"closed","issue":{"url":"https://api.github.com/repos/formly-js/angular-formly/issues/451","labels_url":"https://api.github.com/repos/formly-js/angular-formly/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/formly-js/angular-formly/issues/451/comments","events_url":"https://api.github.com/repos/formly-js/angular-formly/issues/451/events","html_url":"https://github.com/formly-js/angular-formly/issues/451","id":104927044,"number":451,"title":"ngModelAttrs boolean config option fails apicheck","user":{"login":"ckniffen","id":464895,"avatar_url":"https://avatars.githubusercontent.com/u/464895?v=3","gravatar_id":"","url":"https://api.github.com/users/ckniffen","html_url":"https://github.com/ckniffen","followers_url":"https://api.github.com/users/ckniffen/followers","following_url":"https://api.github.com/users/ckniffen/following{/other_user}","gists_url":"https://api.github.com/users/ckniffen/gists{/gist_id}","starred_url":"https://api.github.com/users/ckniffen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckniffen/subscriptions","organizations_url":"https://api.github.com/users/ckniffen/orgs","repos_url":"https://api.github.com/users/ckniffen/repos","events_url":"https://api.github.com/users/ckniffen/events{/privacy}","received_events_url":"https://api.github.com/users/ckniffen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-04T16:47:44Z","updated_at":"2015-09-04T20:15:55Z","closed_at":"2015-09-04T20:15:55Z","body":"Creating the following type errors in api-check when trying to set ngModelAttrs with a boolean configuration.\r\n\r\n```\r\nreturn {\r\n  name: 'ipaddressMixin',\r\n  defaultOptions: {\r\n    templateOptions: {\r\n      ipaddressType: 'any',\r\n      ipaddressAllowAny: false\r\n    },\r\n    ngModelAttrs: {\r\n      ipaddressType: {\r\n        attribute: 'ip-valid'\r\n      },\r\n      ipaddressAllowAny: {\r\n        boolean: 'ip-valid-allow-any'\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\nWill craft a PR."}}