5fafd1a75b
* New example with-typescript-graphql * Update newer graphql-let * Apply @lfades 's suggestions * Use "lib" for tools directory * Move config decorator to next.config.js * Apply stricter tsconfig * mod: hide the word "apollo" from users * mod: Use variable name `withApollo` * Use the later version of graphql-let * Only pages can be in pages * Life improvements * fix: .grpahql-let.yml point to the wrong document path * Use a wider glob for less pitfalls * Add a note about it in README.md Co-authored-by: Luis Alvarez D. <luis@zeit.co>
7 lines
186 B
TypeScript
7 lines
186 B
TypeScript
/// <reference types="next" />
|
|
/// <reference types="next/types/global" />
|
|
|
|
declare module '*.graphqls' {
|
|
import { DocumentNode } from 'graphql'
|
|
export default typeof DocumentNode
|
|
}
|