Skip to content

Commit ebcdb29

Browse files
authored
chore(docs): Fix a typo in JSDoc example (#937)
1 parent 81ec5c0 commit ebcdb29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/definitions/mutationType.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { NexusObjectTypeConfig, objectType } from './objectType'
1818
*
1919
* @example
2020
* mutationType({
21-
* definitin(t) {
21+
* definition(t) {
2222
* t.field('signup', {
2323
* type: 'User',
2424
* args: {

src/definitions/queryType.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { NexusObjectTypeConfig, objectType } from './objectType'
1818
*
1919
* @example
2020
* queryType({
21-
* definitin(t) {
21+
* definition(t) {
2222
* t.field('user', {
2323
* type: 'User',
2424
* args: {

0 commit comments

Comments
 (0)