Last active
April 7, 2021 15:01
-
-
Save bloo/d8b72431a745758593d9e9633c745183 to your computer and use it in GitHub Desktop.
Resilient Tech Blog - Code-first GraphQL with Nexus - typegen-nexus import example.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { NexusGenAllTypes, NexusGenFieldTypes } from 'typegen-nexus' | |
type Nonprofit = NexusGenAllTypes['Nonprofit'] | |
type GetAllNonprofit = NexusGenFieldTypes['Query']['getAllNonprofit'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment