Last active
November 24, 2019 21:11
-
-
Save mohsen89z/1bfd1af5ffcd8bf401aad88e0d4165fc to your computer and use it in GitHub Desktop.
Resolve .graphql import for medium
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
declare module '*.graphql' { | |
import { DocumentNode } from 'graphql' | |
const Schema: DocumentNode | |
export = Schema | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment