{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/520","repository_url":"https://api.github.com/repos/driftyco/ionic-app-scripts","labels_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/520/comments","events_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/520/events","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/520","id":194350345,"number":520,"title":"Support Typescript 2.1","user":{"login":"wmaurer","id":2899448,"avatar_url":"https://avatars.githubusercontent.com/u/2899448?v=3","gravatar_id":"","url":"https://api.github.com/users/wmaurer","html_url":"https://github.com/wmaurer","followers_url":"https://api.github.com/users/wmaurer/followers","following_url":"https://api.github.com/users/wmaurer/following{/other_user}","gists_url":"https://api.github.com/users/wmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/wmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmaurer/subscriptions","organizations_url":"https://api.github.com/users/wmaurer/orgs","repos_url":"https://api.github.com/users/wmaurer/repos","events_url":"https://api.github.com/users/wmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/wmaurer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-08T14:33:10Z","updated_at":"2016-12-14T22:42:41Z","closed_at":null,"body":"#### Short description of the problem:\r\n`ionic-app-scripts` requires typescript ~2.0.10, which overrides the app's installed version of typescript 2.1.4.\r\n\r\n#### What behavior are you expecting?\r\nTypescript 2.1.4 to be used by `ionic-app-scripts`\r\n\r\n**Steps to reproduce:**\r\n1. Spin up a new app using `ionic start`\r\n2. `npm i typescript --save-dev`\r\n3. `npm i @ionic/app-scripts@0.0.46 --save-dev`\r\n4. Add `\"alwaysStrict\": true` to `tsconfig.json` (this is a new option with typescript 2.1)\r\n5. `ionic serve`\r\n6. See error message: \"Unknown compiler option 'alwaysStrict'.\"\r\n\r\n**Which @ionic/app-scripts version are you using?**\r\n0.0.46\r\n\r\n*Note* a second version of typescript (`2.0.10`) is being installed under `node_modules/@ionic/app-scripts/node_modules/typescript`\r\n\r\n*Note* reverting back to version `0.0.45` solves this issue."},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/comments/267180249","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/520#issuecomment-267180249","issue_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/520","id":267180249,"user":{"login":"danbucholtz","id":4680488,"avatar_url":"https://avatars.githubusercontent.com/u/4680488?v=3","gravatar_id":"","url":"https://api.github.com/users/danbucholtz","html_url":"https://github.com/danbucholtz","followers_url":"https://api.github.com/users/danbucholtz/followers","following_url":"https://api.github.com/users/danbucholtz/following{/other_user}","gists_url":"https://api.github.com/users/danbucholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/danbucholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbucholtz/subscriptions","organizations_url":"https://api.github.com/users/danbucholtz/orgs","repos_url":"https://api.github.com/users/danbucholtz/repos","events_url":"https://api.github.com/users/danbucholtz/events{/privacy}","received_events_url":"https://api.github.com/users/danbucholtz/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T22:42:41Z","updated_at":"2016-12-14T22:42:41Z","body":"@wmaurer,\r\n\r\nTypescript is now a peer dependency of app-scripts so in theory in will just work when you flip the switch.\r\n\r\nTypeScript 2.1 does not work with Angular, yet, though. It's a known issue.\r\n\r\nThanks,\r\nDan\r\n\r\n"}}
{"actor":{"display_login":"danbucholtz"}}