Nice repo!
Does importing type from parent not cause a circular dependency?
|
import { IState as Props } from "../App"; |
|
|
|
interface IProps { |
|
people: Props["people"] |
|
} |
I've not seen this way of passing props before, is it based on any documentation? I could not find any references in the repository or description about it. I'd love to learn :)