Fix Git plugin `NodePayload` definition (#176)
Summary: Flow didn’t catch this because all the payloads are `{}` anyway. Test Plan: Note that every node and edge payload is now listed exactly once in the correct spot for each of `{Node,Edge}{Type,Payload}`. wchargin-branch: git-nodepayload
This commit is contained in:
parent
0609201af4
commit
d5f468ca68
|
@ -44,7 +44,7 @@ export type NodePayload =
|
||||||
| CommitNodePayload
|
| CommitNodePayload
|
||||||
| TreeNodePayload
|
| TreeNodePayload
|
||||||
| TreeEntryNodePayload
|
| TreeEntryNodePayload
|
||||||
| HasContentsEdgePayload;
|
| BlobNodePayload;
|
||||||
|
|
||||||
export type NodeType =
|
export type NodeType =
|
||||||
| typeof COMMIT_NODE_TYPE
|
| typeof COMMIT_NODE_TYPE
|
||||||
|
|
Loading…
Reference in New Issue