Commit graph

1661 commits

Author SHA1 Message Date
Jordan Eldredge
71aa36dacc Expand typeing of fileUtils 2018-09-17 08:33:33 -07:00
Jordan Eldredge
91ddff85ef Add more types for our constants 2018-09-17 08:33:33 -07:00
Jordan Eldredge
9cce2c1c78 Types for config 2018-09-17 08:33:33 -07:00
Jordan Eldredge
f01fe73ccb Add more types
This includes bringing the previous index.d.ts types into our Typescript code base.
2018-09-17 08:33:33 -07:00
Jordan Eldredge
88f86eb6f4 Fix context menu bug
I guess React does not like it when these are strings
2018-09-17 08:33:33 -07:00
Jordan Eldredge
75a51f369e Type snapUtils 2018-09-17 08:33:28 -07:00
Jordan Eldredge
15d898bd8c Convert parent actionCreator module to typescript 2018-09-17 08:33:28 -07:00
Jordan Eldredge
abd0c8cd2c Type hotkeys 2018-09-17 08:33:28 -07:00
Jordan Eldredge
8f1bea5ffc Type skinSprites 2018-09-17 08:33:28 -07:00
Jordan Eldredge
25aa9ec0fd Ignore issue with Object.keys always returning string[] 2018-09-17 08:33:28 -07:00
Jordan Eldredge
e9c0817697 Type fileUtils 2018-09-17 08:33:27 -07:00
Jordan Eldredge
f093ca62c3 Type playlist action creators 2018-09-17 08:33:27 -07:00
Jordan Eldredge
365935c0b8 Type window reducers 2018-09-17 08:33:27 -07:00
Jordan Eldredge
378b74e7e1 Type the equalizer action creators 2018-09-17 08:33:27 -07:00
Jordan Eldredge
ee2e759c2e Url is not a real property of the an audio object 2018-09-17 08:33:27 -07:00
Jordan Eldredge
9493d84150 Clarify return type of getWindowsInfo 2018-09-17 08:33:27 -07:00
Jordan Eldredge
a4deebaed6 Add return type for regionParser 2018-09-17 08:33:27 -07:00
Jordan Eldredge
ba43cbcc74 Add type for WindowInfo 2018-09-17 08:33:27 -07:00
Jordan Eldredge
76d3a5b830 Type resizeUtils 2018-09-17 08:33:27 -07:00
Jordan Eldredge
0f82b77828 Type regionParser 2018-09-17 08:33:27 -07:00
Jordan Eldredge
33abe4af8e Type the media middleware 2018-09-17 08:33:27 -07:00
Jordan Eldredge
204f4a4be3 Type the media action creators 2018-09-17 08:33:27 -07:00
Jordan Eldredge
38a68eac84 Type check media 2018-09-17 08:33:27 -07:00
Jordan Eldredge
431414042e Type ElementSource 2018-09-17 08:33:27 -07:00
Jordan Eldredge
8b37e35b94 Type Emitter 2018-09-17 08:33:27 -07:00
Jordan Eldredge
aa36580873 Type skin selectors 2018-09-17 08:33:27 -07:00
Jordan Eldredge
2d97ccf964 Type Selectors 2018-09-17 08:33:27 -07:00
Jordan Eldredge
57f8593ceb Fix regression in getTimeStr
When we switched getTimeObj to return strings, our sketchy zero check started to fail. Luckily our tests caught it!
2018-09-17 08:33:27 -07:00
Jordan Eldredge
9f6aef1b2b Teach ESLint and Jest about .tsx 2018-09-17 08:33:27 -07:00
Jordan Eldredge
1c05bd7b7a Convert ContextMenu and ContextMenuTarget to typescriptThis is the first component to use a connected component 2018-09-17 08:33:27 -07:00
Jordan Eldredge
f20830c247 Type MiniTime.js 2018-09-17 08:33:27 -07:00
Jordan Eldredge
6d6776a5b9 Type passthrough props 2018-09-17 08:33:27 -07:00
Jordan Eldredge
d607a769fc Convert some non-connected components to Typescript 2018-09-17 08:33:27 -07:00
Jordan Eldredge
825f75bb03 Convert Character component to Typescript 2018-09-17 08:33:26 -07:00
Jordan Eldredge
6c17184488 Convert all reducers to typescript 2018-09-17 08:33:26 -07:00
Jordan Eldredge
565e8d0f7e Convert utils.js to utils.ts 2018-09-17 08:33:26 -07:00
Jordan Eldredge
b47e50b245 Allow the library webpack build to see .tsx files 2018-09-17 08:33:26 -07:00
Jordan Eldredge
2113f0e98a Allow webpack to see .tsx files 2018-09-17 08:33:26 -07:00
Jordan Eldredge
5fe851a0a5 Format tsconfig.json 2018-09-17 08:33:26 -07:00
Jordan Eldredge
fe4c366f34 Format display.ts 2018-09-17 08:33:26 -07:00
Jordan Eldredge
99b9e6ad72 Format types.ts 2018-09-17 08:33:26 -07:00
Jordan Eldredge
fb05e07767 Improve typing of skin info 2018-09-17 08:33:26 -07:00
Jordan Eldredge
14168f85a5 Allow library build to work with Typescript 2018-09-11 17:25:25 -07:00
Jordan Eldredge
ea48bc7441 Make skin data a bit more correct 2018-09-11 17:18:11 -07:00
Jordan Eldredge
9b5c3dc579 Pass dummy data object in SET_SKIN_DATA in test to reset skin 2018-09-11 17:08:31 -07:00
Jordan Eldredge
d0a8a196f7 Allow Jest to process .ts files 2018-09-11 16:54:32 -07:00
Jordan Eldredge
30fc35507f More type progress 2018-09-11 07:37:16 -07:00
Jordan Eldredge
51f87239b3 Convert UserInput reducer to TypeScript 2018-09-11 07:37:16 -07:00
Jordan Eldredge
dcf07f60c0 Convert media reducer to Typescript 2018-09-11 07:37:16 -07:00
Jordan Eldredge
40fc9aad59 Format typescript files with Prettier 2018-09-11 07:37:16 -07:00