Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Typescript #202

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4e581db
refactor(typescript): components
akameco Mar 5, 2019
84350ed
refactor(types,services): refactor to typescript
akameco Mar 6, 2019
b18420b
chore(eslint): disable @typescript-eslint/no-explicit-any
akameco Mar 6, 2019
92235a7
refactor(utils): typescript
akameco Mar 6, 2019
5fb32d5
chore(eslint): disable @typescript-eslint/explicit-function-return-type
akameco Mar 6, 2019
e62d18e
chore(deps): add types
akameco Mar 6, 2019
79eb769
refactor(components): ts LazyLoadImg
akameco Mar 6, 2019
3892cd0
chore(deps): add @types/styled-components
akameco Mar 6, 2019
017f38b
refactor(reducer,action): typescript
akameco Mar 6, 2019
30d921b
refactor(messages,selectors): typescript
akameco Mar 6, 2019
27f72eb
refactor(typescript): sagas
akameco Mar 9, 2019
1923a47
refactor(types): use reference
akameco Mar 9, 2019
e45c50e
refactor(typescript): app
akameco Mar 9, 2019
b3592fc
refactor(typescript): styles
akameco Mar 9, 2019
82e083f
refactor(typescript): i18n
akameco Mar 9, 2019
36b219a
refactor(typescript): selector
akameco Mar 9, 2019
35b50b8
refactor(typescript): tests
akameco Mar 9, 2019
7e52992
refactor(typescript): tests
akameco Mar 9, 2019
a2f7fd8
chore(flow): remove flow-typed
akameco Mar 10, 2019
b8f9b7d
refactor(typescript): containers
akameco Mar 11, 2019
91fe19e
chore(scripts): ts.js
akameco Mar 11, 2019
f62ec90
chore: rm .storybook
akameco Aug 25, 2019
ec62ab7
refactor: rm flow
akameco Aug 25, 2019
7fbb9b7
chore: remove flow-to-typescript
akameco Aug 25, 2019
7166cca
wip
akameco Nov 28, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor(typescript): styles
  • Loading branch information
akameco committed Aug 25, 2019
commit b3592fc4ec1cf0b6259247616dcdc2aba4f95c03
2 changes: 0 additions & 2 deletions app/styles/global-styles.js → app/styles/global-styles.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// @flow
import { createGlobalStyle } from 'styled-components'

/* eslint no-unused-expressions: 0 */
export const GlobalStyle = createGlobalStyle`
* {
-webkit-font-smoothing: antialiased;
4 changes: 1 addition & 3 deletions app/styles/styleTheme.js → app/styles/styleTheme.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @flow
const theme = {
base: '#222426',
black: '#222426',
@@ -9,8 +8,7 @@ const theme = {
accent: '',
}

export function key(path: $Keys<typeof theme>) {
export function key(path: keyof typeof theme) {
return () => theme[path]
}

export default theme