flow
This commit is contained in:
parent
638418432a
commit
139e2e29d7
|
@ -7,6 +7,7 @@
|
|||
.*/node_modules/tiny-cookie/flow/.*
|
||||
.*/node_modules/styled-components/.*
|
||||
.*/node_modules/polished/.*
|
||||
.*/node_modules/mobx/.*.flow
|
||||
.*/node_modules/react-side-effect/.*
|
||||
.*/node_modules/fbjs/.*
|
||||
.*/node_modules/config-chain/.*
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
{
|
||||
"javascript.validate.enable": false
|
||||
"javascript.validate.enable": false,
|
||||
"typescript.validate.enable": false,
|
||||
"editor.formatOnSave": true,
|
||||
"typescript.format.enable": false
|
||||
}
|
|
@ -413,11 +413,6 @@ declare module 'styled-components' {
|
|||
ElementName
|
||||
>;
|
||||
|
||||
declare type ConvenientShorthands = $ObjMap<
|
||||
BuiltinElementInstances,
|
||||
<V>(V) => StyledShorthandFactory<V>
|
||||
>;
|
||||
|
||||
declare interface Styled {
|
||||
<Comp: React$ComponentType<P>, Theme, OwnProps = React$ElementConfig<Comp>>(
|
||||
Comp
|
||||
|
|
Reference in New Issue