Skip to content

Commit

Permalink
chore(docs): Fix a typo in JSDoc example (#937)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukin authored Jun 21, 2021
1 parent 81ec5c0 commit ebcdb29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/definitions/mutationType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { NexusObjectTypeConfig, objectType } from './objectType'
*
* @example
* mutationType({
* definitin(t) {
* definition(t) {
* t.field('signup', {
* type: 'User',
* args: {
Expand Down
2 changes: 1 addition & 1 deletion src/definitions/queryType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { NexusObjectTypeConfig, objectType } from './objectType'
*
* @example
* queryType({
* definitin(t) {
* definition(t) {
* t.field('user', {
* type: 'User',
* args: {
Expand Down

0 comments on commit ebcdb29

Please sign in to comment.