Skip to content

Commit e1828d2

Browse files
authored
Fix links
Fix links in the readme pointing to non existing js files instead of ts
1 parent 3796e09 commit e1828d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Helper functions are provided for both building the GraphQL types for connection
3939
- `offsetToCursor` takes the index of a member object in an array and returns an opaque cursor for use in the mutation payload.
4040
- `cursorToOffset` takes an opaque cursor (created with `offsetToCursor`) and returns the corresponding array index.
4141

42-
An example usage of these methods from the [test schema](src/__tests__/starWarsSchema.js):
42+
An example usage of these methods from the [test schema](src/__tests__/starWarsSchema.ts):
4343

4444
```js
4545
var { connectionType: ShipConnection } = connectionDefinitions({
@@ -73,7 +73,7 @@ Helper functions are provided for both building the GraphQL types for nodes and
7373
- `globalIdField` creates the configuration for an `id` field on a node.
7474
- `pluralIdentifyingRootField` creates a field that accepts a list of non-ID identifiers (like a username) and maps them to their corresponding objects.
7575

76-
An example usage of these methods from the [test schema](src/__tests__/starWarsSchema.js):
76+
An example usage of these methods from the [test schema](src/__tests__/starWarsSchema.ts):
7777

7878
```js
7979
var { nodeInterface, nodeField } = nodeDefinitions(
@@ -110,7 +110,7 @@ A helper function is provided for building mutations with single inputs and clie
110110

111111
- `mutationWithClientMutationId` takes a name, input fields, output fields, and a mutation method to map from the input fields to the output fields, performing the mutation along the way. It then creates and returns a field configuration that can be used as a top-level field on the mutation type.
112112

113-
An example usage of these methods from the [test schema](src/__tests__/starWarsSchema.js):
113+
An example usage of these methods from the [test schema](src/__tests__/starWarsSchema.ts):
114114

115115
```js
116116
var shipMutation = mutationWithClientMutationId({

0 commit comments

Comments
 (0)