{"action":"created","issue":{"url":"https://api.github.com/repos/telerik/kendo-react/issues/136","repository_url":"https://api.github.com/repos/telerik/kendo-react","labels_url":"https://api.github.com/repos/telerik/kendo-react/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/telerik/kendo-react/issues/136/comments","events_url":"https://api.github.com/repos/telerik/kendo-react/issues/136/events","html_url":"https://github.com/telerik/kendo-react/issues/136","id":386024719,"node_id":"MDU6SXNzdWUzODYwMjQ3MTk=","number":136,"title":"kendo-react-dropdowns doesn't work with react-create-app + typescript.","user":{"login":"shadowmint","id":355760,"node_id":"MDQ6VXNlcjM1NTc2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/355760?v=4","gravatar_id":"","url":"https://api.github.com/users/shadowmint","html_url":"https://github.com/shadowmint","followers_url":"https://api.github.com/users/shadowmint/followers","following_url":"https://api.github.com/users/shadowmint/following{/other_user}","gists_url":"https://api.github.com/users/shadowmint/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowmint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowmint/subscriptions","organizations_url":"https://api.github.com/users/shadowmint/orgs","repos_url":"https://api.github.com/users/shadowmint/repos","events_url":"https://api.github.com/users/shadowmint/events{/privacy}","received_events_url":"https://api.github.com/users/shadowmint/received_events","type":"User","site_admin":false},"labels":[{"id":652133559,"node_id":"MDU6TGFiZWw2NTIxMzM1NTk=","url":"https://api.github.com/repos/telerik/kendo-react/labels/bug","name":"bug","color":"ee0701","default":true},{"id":839828943,"node_id":"MDU6TGFiZWw4Mzk4Mjg5NDM=","url":"https://api.github.com/repos/telerik/kendo-react/labels/pkg:dropdowns","name":"pkg:dropdowns","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"nstoychev","id":13251479,"node_id":"MDQ6VXNlcjEzMjUxNDc5","avatar_url":"https://avatars0.githubusercontent.com/u/13251479?v=4","gravatar_id":"","url":"https://api.github.com/users/nstoychev","html_url":"https://github.com/nstoychev","followers_url":"https://api.github.com/users/nstoychev/followers","following_url":"https://api.github.com/users/nstoychev/following{/other_user}","gists_url":"https://api.github.com/users/nstoychev/gists{/gist_id}","starred_url":"https://api.github.com/users/nstoychev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstoychev/subscriptions","organizations_url":"https://api.github.com/users/nstoychev/orgs","repos_url":"https://api.github.com/users/nstoychev/repos","events_url":"https://api.github.com/users/nstoychev/events{/privacy}","received_events_url":"https://api.github.com/users/nstoychev/received_events","type":"User","site_admin":false},"assignees":[{"login":"nstoychev","id":13251479,"node_id":"MDQ6VXNlcjEzMjUxNDc5","avatar_url":"https://avatars0.githubusercontent.com/u/13251479?v=4","gravatar_id":"","url":"https://api.github.com/users/nstoychev","html_url":"https://github.com/nstoychev","followers_url":"https://api.github.com/users/nstoychev/followers","following_url":"https://api.github.com/users/nstoychev/following{/other_user}","gists_url":"https://api.github.com/users/nstoychev/gists{/gist_id}","starred_url":"https://api.github.com/users/nstoychev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstoychev/subscriptions","organizations_url":"https://api.github.com/users/nstoychev/orgs","repos_url":"https://api.github.com/users/nstoychev/repos","events_url":"https://api.github.com/users/nstoychev/events{/privacy}","received_events_url":"https://api.github.com/users/nstoychev/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-30T03:38:31Z","updated_at":"2018-12-03T10:03:57Z","closed_at":null,"author_association":"NONE","body":"## I'm submitting a...\r\n\r\n* Bug report\r\n\r\n## Current behavior\r\n\r\nkendo-react-dropdowns does not work with create-react-app when using typescript.\r\n\r\n> node_modules/@progress/kendo-react-dropdowns/dist/npm/common/settings.d.ts\r\n>  Type error: Ambient const enums are not allowed when the '--isolatedModules' flag is provided.  TS1209\r\n\r\n## Expected behavior\r\n\r\nUsing `<DropDownList>` should not cause an error.\r\n\r\n## Minimal reproduction of the problem with instructions\r\n\r\n```\r\nnpx create-react-app foo\r\ncd foo\r\n```\r\n\r\nNow follow the guide here to enable typescript:\r\n\r\nhttps://facebook.github.io/create-react-app/docs/adding-typescript\r\n\r\nNote the comment at the end of the documentation:\r\n\r\n> Note: Constant enums and namespaces are not supported.\r\n\r\nNow attempt to use kendo-react-dropdowns:\r\n\r\n```\r\nnpm install @progress/kendo-react-dropdowns\r\n```\r\n\r\n...\r\n\r\n```\r\nimport {DropDownList} from \"@progress/kendo-react-dropdowns\";\r\n```\r\n\r\nGives:\r\n\r\n```\r\nnode_modules/@progress/kendo-react-dropdowns/dist/npm/common/settings.d.ts\r\nType error: Ambient const enums are not allowed when the '--isolatedModules' flag is provided.  TS1209\r\n\r\n     98 |  * @hidden\r\n     99 |  */\r\n  > 100 | export declare const enum ActiveDescendant {\r\n        |                           ^\r\n    101 |     'PopupList' = 0,\r\n    102 |     'TagsList' = 1\r\n    103 | }\r\n```\r\n\r\n## What is the motivation or use case for changing the behavior?\r\n\r\nreact-create-app is the standard way of create react applications, and have selected the babel typescript integration as the 'blessed' way of using typescript.\r\n\r\nCertainly, the typescript standard supports this feature, but `DropDownList` is a fundamental component; this is a show-stopper for using kendo-react.\r\n\r\n## Environment\r\n\r\nPackage versions:\r\n```\r\n    \"@progress/kendo-react-buttons\": \"^2.4.0\",\r\n    \"@progress/kendo-react-dateinputs\": \"^2.4.0\",\r\n    \"@progress/kendo-react-dropdowns\": \"^2.4.0\",\r\n    \"@progress/kendo-react-inputs\": \"^2.4.0\",\r\n    \"@progress/kendo-react-intl\": \"^2.4.0\",\r\n    \"@progress/kendo-theme-material\": \"^1.5.1\",\r\n    \"@progress/kendo-ui\": \"^2018.3.1129\",\r\n    \"@types/jest\": \"^23.3.10\",\r\n    \"@types/node\": \"^10.12.10\",\r\n    \"@types/react\": \"^16.7.8\",\r\n    \"@types/react-dom\": \"^16.0.11\",\r\n    \"node-sass\": \"^4.10.0\",\r\n    \"react\": \"^16.6.3\",\r\n    \"react-dom\": \"^16.6.3\",\r\n    \"react-scripts\": \"2.1.1\",\r\n    \"typescript\": \"^3.1.6\"\r\n```\r\n\r\nBrowser:\r\nSince this prevents compile, it affects all browsers.\r\n\r\nSystem:\r\n- TypeScript version: 3.1.6\r\n- Node version: v10.13.0\r\n- Platform:  Windows"},"comment":{"url":"https://api.github.com/repos/telerik/kendo-react/issues/comments/443654226","html_url":"https://github.com/telerik/kendo-react/issues/136#issuecomment-443654226","issue_url":"https://api.github.com/repos/telerik/kendo-react/issues/136","id":443654226,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzY1NDIyNg==","user":{"login":"nstoychev","id":13251479,"node_id":"MDQ6VXNlcjEzMjUxNDc5","avatar_url":"https://avatars0.githubusercontent.com/u/13251479?v=4","gravatar_id":"","url":"https://api.github.com/users/nstoychev","html_url":"https://github.com/nstoychev","followers_url":"https://api.github.com/users/nstoychev/followers","following_url":"https://api.github.com/users/nstoychev/following{/other_user}","gists_url":"https://api.github.com/users/nstoychev/gists{/gist_id}","starred_url":"https://api.github.com/users/nstoychev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstoychev/subscriptions","organizations_url":"https://api.github.com/users/nstoychev/orgs","repos_url":"https://api.github.com/users/nstoychev/repos","events_url":"https://api.github.com/users/nstoychev/events{/privacy}","received_events_url":"https://api.github.com/users/nstoychev/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T10:03:57Z","updated_at":"2018-12-03T10:03:57Z","author_association":"NONE","body":"@shadowmint - We have published a fix in our dev channel [2.5.0-dev.201812030901](https://www.npmjs.com/package/@progress/kendo-react-grid/v/2.5.0-dev.201812030901). See the following article about obtaining development builds - https://www.telerik.com/kendo-react-ui/components/installation/development-builds/."}}
{"actor":{"display_login":"nstoychev"}}