microsoft/just

Add GraphQL support to ts-loader

Closed this issue · 1 comments

declare module '*.graphql' {
  import { DocumentNode } from 'graphql';
  const value: DocumentNode;
  export default value;
}

Limitation of that typing definition is that only ONE default query can be in a single file

Issues seem to have gone stale.