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:
William Chargin 2018-04-30 17:08:49 -07:00 committed by GitHub
parent 0609201af4
commit d5f468ca68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ export type NodePayload =
| CommitNodePayload
| TreeNodePayload
| TreeEntryNodePayload
| HasContentsEdgePayload;
| BlobNodePayload;
export type NodeType =
| typeof COMMIT_NODE_TYPE