{"action":"created","issue":{"url":"https://api.github.com/repos/englercj/tsd-jsdoc/issues/38","repository_url":"https://api.github.com/repos/englercj/tsd-jsdoc","labels_url":"https://api.github.com/repos/englercj/tsd-jsdoc/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/englercj/tsd-jsdoc/issues/38/comments","events_url":"https://api.github.com/repos/englercj/tsd-jsdoc/issues/38/events","html_url":"https://github.com/englercj/tsd-jsdoc/issues/38","id":308784174,"number":38,"title":"How to resolve these errors?","user":{"login":"apptaro","id":998626,"avatar_url":"https://avatars2.githubusercontent.com/u/998626?v=4","gravatar_id":"","url":"https://api.github.com/users/apptaro","html_url":"https://github.com/apptaro","followers_url":"https://api.github.com/users/apptaro/followers","following_url":"https://api.github.com/users/apptaro/following{/other_user}","gists_url":"https://api.github.com/users/apptaro/gists{/gist_id}","starred_url":"https://api.github.com/users/apptaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apptaro/subscriptions","organizations_url":"https://api.github.com/users/apptaro/orgs","repos_url":"https://api.github.com/users/apptaro/repos","events_url":"https://api.github.com/users/apptaro/events{/privacy}","received_events_url":"https://api.github.com/users/apptaro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-27T00:51:59Z","updated_at":"2018-03-27T14:44:56Z","closed_at":null,"author_association":"NONE","body":"Hi, @englercj I came here from: https://github.com/pixijs/pixi-ui/issues/16\r\nBasically, I am trying to create .tsd for pixi-ui, but I see the errors below. How can I solve?\r\n\r\n```\r\n> npm install tsd-jsdoc\r\n> npm install jsdoc@^3.4.0\r\n> node_modules\\.bin\\jsdoc -t node_modules/tsd-jsdoc -r src\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.Button\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.CheckBox\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"bool\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.Container\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Failed to resolve base type of \"PIXI.UI.Container\", no object found with name \"PIXI.UI.UIBase\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.DynamicText\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"DynamicTextStyle\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Failed to resolve base type of \"PIXI.UI.DynamicText\", no object found with name \"PIXI.UI.UIBase\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.InputBase\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Failed to resolve base type of \"PIXI.UI.InputBase\", no object found with name \"PIXI.UI.UIBase\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.ScrollBar\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"Object\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.ScrollingContainer\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"Boolean\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Boolean\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Boolean\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Failed to resolve base type of \"PIXI.UI.ScrollingContainer\", no object found with name \"PIXI.UI.UIBase\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.SliceSprite\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"PIXI.Texture\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Boolean\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Boolean\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Boolean\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.Slider\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"Object\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"callback\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"callback\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.SortableList\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"Boolean\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"PIXI.UI.Ease\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Failed to resolve base type of \"PIXI.UI.SortableList\", no object found with name \"PIXI.UI.UIBase\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.Sprite\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"PIXI.Texture\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Failed to resolve base type of \"PIXI.UI.Sprite\", no object found with name \"PIXI.UI.UIBase\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.Stage\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.Text\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"PIXI.TextStyle\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Failed to resolve base type of \"PIXI.UI.Text\", no object found with name \"PIXI.UI.UIBase\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.TextInput\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Boolean\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"PIXI.TextStyle\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Array\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"String\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.TilingSprite\", using memberof \"PIXI.UI\". No such name found.\r\n[TSD-JSDoc] Unable to resolve type name \"PIXI.Texture\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Failed to resolve base type of \"PIXI.UI.TilingSprite\", no object found with name \"PIXI.UI.UIBase\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Unable to resolve type name \"Number\". No type found with that name, defaulting to \"any\".\r\n[TSD-JSDoc] Failed to resolve base type of \"UIBase\", no object found with name \"PIXI.UI.UIBase\".\r\n[TSD-JSDoc] Unable to resolve memberof for \"PIXI.UI.UISettings\", using memberof \"PIXI.UI\". No such name found.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/englercj/tsd-jsdoc/issues/comments/376551989","html_url":"https://github.com/englercj/tsd-jsdoc/issues/38#issuecomment-376551989","issue_url":"https://api.github.com/repos/englercj/tsd-jsdoc/issues/38","id":376551989,"user":{"login":"englercj","id":944497,"avatar_url":"https://avatars0.githubusercontent.com/u/944497?v=4","gravatar_id":"","url":"https://api.github.com/users/englercj","html_url":"https://github.com/englercj","followers_url":"https://api.github.com/users/englercj/followers","following_url":"https://api.github.com/users/englercj/following{/other_user}","gists_url":"https://api.github.com/users/englercj/gists{/gist_id}","starred_url":"https://api.github.com/users/englercj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englercj/subscriptions","organizations_url":"https://api.github.com/users/englercj/orgs","repos_url":"https://api.github.com/users/englercj/repos","events_url":"https://api.github.com/users/englercj/events{/privacy}","received_events_url":"https://api.github.com/users/englercj/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T14:44:56Z","updated_at":"2018-03-27T14:44:56Z","author_association":"OWNER","body":"> What about Object/Array? I get the error below even if I use lower-cased object/array:\r\n\r\nJust like the error mentions, those types are not recognized, and so it falls back to `any`. Like mentioned in #16 built-in js types do not resolve currently. Either define the object explicitly with a typedef [like this](https://github.com/englercj/tsd-jsdoc/blob/84a6c4247cfeb31254d5cab99e96bac60c2c51e9/test/test.js#L20-L22) or change it to `any` or ignore the warning.\r\n\r\n> Also, pixi-ui references some types from pixijs, and gets the error below:\r\n> How do I let tsd-jsdoc know about those types?\r\n\r\nThis library isn't magic, it can only output information about what it knows about. It reads jsdoc and outputs equivalent typescript. If there is no jsdoc that tells the lib what `PIXI.Textrure` means, it can't output that type. So, tell it what the type is or use something else that it knows about."}}
{"actor":{"display_login":"englercj"}}