Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ this, it takes a function to resolve an ID to an object, and to determine
the type of a given object.
- `toGlobalId` takes a type name and an ID specific to that type name,
and returns a "global ID" that is unique among all types.
- `fromGlobalId` takes the "global ID" created by `toGlobalID`, and retuns
- `fromGlobalId` takes the "global ID" created by `toGlobalID`, and returns
the type name and ID used to create it.
- `globalIdField` creates the configuration for an `id` field on a node.
- `pluralIdentifyingRootField` creates a field that accepts a list of
Expand Down
2 changes: 1 addition & 1 deletion src/node/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function toGlobalId(type: string, id: string): string {
}

/**
* Takes the "global ID" created by toGlobalID, and retuns the type name and ID
* Takes the "global ID" created by toGlobalID, and returns the type name and ID
* used to create it.
*/
export function fromGlobalId(globalId: string): ResolvedGlobalId {
Expand Down