From 18d52902e87f6a0b2666ea3722ad5e0946611d34 Mon Sep 17 00:00:00 2001 From: Greg Hurrell Date: Sat, 3 Oct 2015 17:38:44 -0700 Subject: [PATCH] Spelling: retuns -> returns --- README.md | 2 +- src/node/node.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 18dec95..6f42f2d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/node/node.js b/src/node/node.js index 6dfd5b5..14bc1a1 100644 --- a/src/node/node.js +++ b/src/node/node.js @@ -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 {