Skip to content

Commit 7bcd593

Browse files
committed
Merge pull request #28 from wincent/spelling
Spelling: retuns -> returns
2 parents 2a5fdb4 + 18d5290 commit 7bcd593

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ this, it takes a function to resolve an ID to an object, and to determine
9595
the type of a given object.
9696
- `toGlobalId` takes a type name and an ID specific to that type name,
9797
and returns a "global ID" that is unique among all types.
98-
- `fromGlobalId` takes the "global ID" created by `toGlobalID`, and retuns
98+
- `fromGlobalId` takes the "global ID" created by `toGlobalID`, and returns
9999
the type name and ID used to create it.
100100
- `globalIdField` creates the configuration for an `id` field on a node.
101101
- `pluralIdentifyingRootField` creates a field that accepts a list of

src/node/node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export function toGlobalId(type: string, id: string): string {
8989
}
9090

9191
/**
92-
* Takes the "global ID" created by toGlobalID, and retuns the type name and ID
92+
* Takes the "global ID" created by toGlobalID, and returns the type name and ID
9393
* used to create it.
9494
*/
9595
export function fromGlobalId(globalId: string): ResolvedGlobalId {

0 commit comments

Comments
 (0)