Skip to content

Instantly share code, notes, and snippets.

@wlee221
Created September 22, 2021 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wlee221/72666db6b66bae74cfb059130f7f406d to your computer and use it in GitHub Desktop.
Save wlee221/72666db6b66bae74cfb059130f7f406d to your computer and use it in GitHub Desktop.
types.d.ts
// workaround for using typescript strict mode with amplify-js.
// src/types.d.ts
declare module 'graphql/language/ast' { export type DocumentNode = any }
declare module 'graphql/error/GraphQLError' { export type GraphQLError = any }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment