Created
May 18, 2018 23:41
-
-
Save kfarst/80d457f57ee49cc428bee50804bbb1d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { TodoListQueryType } from './__generated__/TodoListQueryType'; | |
class TodoList extends React.Component { | |
list: $PropertyType<TodoListQueryType, 'list'> | |
constructor(props: TodoListQueryType) { | |
list = props.list | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment