{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/12148","repository_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/12148/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/12148/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/12148/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/12148","id":184367859,"number":12148,"title":"filesaver type should install in @types/file-saver to match the package installation folder name","user":{"login":"hhubik","id":14813201,"avatar_url":"https://avatars.githubusercontent.com/u/14813201?v=3","gravatar_id":"","url":"https://api.github.com/users/hhubik","html_url":"https://github.com/hhubik","followers_url":"https://api.github.com/users/hhubik/followers","following_url":"https://api.github.com/users/hhubik/following{/other_user}","gists_url":"https://api.github.com/users/hhubik/gists{/gist_id}","starred_url":"https://api.github.com/users/hhubik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhubik/subscriptions","organizations_url":"https://api.github.com/users/hhubik/orgs","repos_url":"https://api.github.com/users/hhubik/repos","events_url":"https://api.github.com/users/hhubik/events{/privacy}","received_events_url":"https://api.github.com/users/hhubik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-20T23:46:58Z","updated_at":"2016-10-24T13:28:18Z","closed_at":null,"body":"- [x] I tried using the latest `xxxx/xxxx.d.ts` file in this repo and had problems.\r\n- [x] I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript\r\n- [x] I have a question that is inappropriate for [StackOverflow](https://stackoverflow.com/).  (Please ask any appropriate questions there).\r\n- [x] I want to talk about `xxxx/xxxx.d.ts`.\r\n  - The authors of that type definition are cc/ Cyril Schumacher <https://github.com/cyrilschumacher>\r\n\r\nI ran into a minor problem with the [type definition](https://www.npmjs.com/package/@types/filesaver) for the [file-saver package](https://github.com/eligrey/FileSaver.js/).\r\n\r\n`npm i file-saver` saves the package in `node_modules/file-saver`.\r\n`npm i @types/filesaver` saves the type definition in `node_modules/@types/filesaver`.\r\n\r\nTo make Typescript find the module, I had to re-name `node_modules/@types/filesaver` to `node_modules/@types/file-saver`.\r\n\r\nCould this be fixed so that the name of the type folder matches the name of the package folder.\r\n\r\nThanks!\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments/255740151","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/12148#issuecomment-255740151","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/12148","id":255740151,"user":{"login":"hhubik","id":14813201,"avatar_url":"https://avatars.githubusercontent.com/u/14813201?v=3","gravatar_id":"","url":"https://api.github.com/users/hhubik","html_url":"https://github.com/hhubik","followers_url":"https://api.github.com/users/hhubik/followers","following_url":"https://api.github.com/users/hhubik/following{/other_user}","gists_url":"https://api.github.com/users/hhubik/gists{/gist_id}","starred_url":"https://api.github.com/users/hhubik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhubik/subscriptions","organizations_url":"https://api.github.com/users/hhubik/orgs","repos_url":"https://api.github.com/users/hhubik/repos","events_url":"https://api.github.com/users/hhubik/events{/privacy}","received_events_url":"https://api.github.com/users/hhubik/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T13:28:18Z","updated_at":"2016-10-24T13:28:18Z","body":"@ColinFrick - you are right, I am on Windows 8.1 and I used the re-naming of the folder to `file-saver` as a **workaround** as well.  The issue with re-naming is, I assume, that I can no longer rely on `npm install` and `package.json` to update the package in the future.  The name of the of the type definition folder should match the name of the package just like it does with all other packages with separate type definition. "}}
{"actor":{"display_login":"hhubik"}}