{"action":"created","issue":{"url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/822","repository_url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers","labels_url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/822/labels{/name}","comments_url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/822/comments","events_url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/822/events","html_url":"https://github.com/dmtrKovalenko/material-ui-pickers/issues/822","id":394427211,"node_id":"MDU6SXNzdWUzOTQ0MjcyMTE=","number":822,"title":"v2.0.5 Typescript does not build.","user":{"login":"ideoclickVanessa","id":44000426,"node_id":"MDQ6VXNlcjQ0MDAwNDI2","avatar_url":"https://avatars1.githubusercontent.com/u/44000426?v=4","gravatar_id":"","url":"https://api.github.com/users/ideoclickVanessa","html_url":"https://github.com/ideoclickVanessa","followers_url":"https://api.github.com/users/ideoclickVanessa/followers","following_url":"https://api.github.com/users/ideoclickVanessa/following{/other_user}","gists_url":"https://api.github.com/users/ideoclickVanessa/gists{/gist_id}","starred_url":"https://api.github.com/users/ideoclickVanessa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ideoclickVanessa/subscriptions","organizations_url":"https://api.github.com/users/ideoclickVanessa/orgs","repos_url":"https://api.github.com/users/ideoclickVanessa/repos","events_url":"https://api.github.com/users/ideoclickVanessa/events{/privacy}","received_events_url":"https://api.github.com/users/ideoclickVanessa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-27T15:48:14Z","updated_at":"2018-12-28T08:51:50Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks so much for your time taking to open an issue, your work is appreciated! ❤️ -->\r\n\r\n## Environment\r\n\r\n| Tech                | Version |\r\n|---------------------|---------|\r\n| material-ui-pickers |  v2.0.5       |\r\n| material-ui         |   v3.7.1      |\r\n| React               |    v16.7.0     |\r\n| Browser             |         |\r\n| Peer library        |  luxon v1.8.3       | <!-- date-fns, luxon or moment and version  -->\r\n\r\n## Steps to reproduce\r\n1. Updated material-ui-pickers from 2.0.4 to 2.05\r\n2. Ran npm start\r\n\r\n## Expected behavior\r\nProject to build without me needing to install types for a library used solely within the `material-ui-pickers` project\r\n\r\n## Actual behavior\r\nCompile error:\r\n```\r\nFailed to compile.\r\n\r\nC:/Repos/MyProject/node_modules/material-ui-pickers/_shared/DateTextField.d.ts\r\nType error: Could not find a declaration file for module 'react-text-mask'. 'C:/Repos/MyProject/node_modules/react-text-mask/dist/reactTextMask.js' implicitly has an 'any' type.\r\n  Try `npm install @types/react-text-mask` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-text-mask';`  TS7016\r\n\r\n    1 | import { BaseTextFieldProps, TextFieldProps } from '@material-ui/core/TextField';\r\n    2 | import * as React from 'react';\r\n  > 3 | import { MaskedInputProps } from 'react-text-mask';\r\n      |                                  ^\r\n    4 | import { DateType } from '../constants/prop-types';\r\n    5 | import { MaterialUiPickersDate } from '../typings/date';\r\n    6 | import { ExtendMui } from '../typings/extendMui';\r\n\r\n```\r\nWhile installing the type library resolved the build issue, I should not need to do so when I am not directly using the `react-text-mask` package in my project. :(\r\n"},"comment":{"url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/comments/450320092","html_url":"https://github.com/dmtrKovalenko/material-ui-pickers/issues/822#issuecomment-450320092","issue_url":"https://api.github.com/repos/dmtrKovalenko/material-ui-pickers/issues/822","id":450320092,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDMyMDA5Mg==","user":{"login":"dmtrKovalenko","id":16926049,"node_id":"MDQ6VXNlcjE2OTI2MDQ5","avatar_url":"https://avatars0.githubusercontent.com/u/16926049?v=4","gravatar_id":"","url":"https://api.github.com/users/dmtrKovalenko","html_url":"https://github.com/dmtrKovalenko","followers_url":"https://api.github.com/users/dmtrKovalenko/followers","following_url":"https://api.github.com/users/dmtrKovalenko/following{/other_user}","gists_url":"https://api.github.com/users/dmtrKovalenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dmtrKovalenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmtrKovalenko/subscriptions","organizations_url":"https://api.github.com/users/dmtrKovalenko/orgs","repos_url":"https://api.github.com/users/dmtrKovalenko/repos","events_url":"https://api.github.com/users/dmtrKovalenko/events{/privacy}","received_events_url":"https://api.github.com/users/dmtrKovalenko/received_events","type":"User","site_admin":false},"created_at":"2018-12-28T08:51:50Z","updated_at":"2018-12-28T08:51:50Z","author_association":"OWNER","body":"@wichert yep, the `SyntheticEvent` type was changed in @types/react^16.7\r\n"}}
{"actor":{"display_login":"dmtrKovalenko"}}