Skip to content

Commit 4076669

Browse files
authored
fix: export type GqlError (#494)
1 parent ca050fa commit 4076669

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/module.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ import { useLogger, addPlugin, addImportsDir, addTemplate, resolveFiles, createR
66
import { name, version } from '../package.json'
77
import generate from './generate'
88
import { mapDocsToClients, extractGqlOperations } from './utils'
9-
import type { GqlConfig, GqlClient, GqlCodegen, TokenStorageOpts } from './types'
9+
import type { GqlConfig, GqlClient, GqlCodegen, TokenStorageOpts, GqlError } from './types'
1010
import { prepareContext, mockTemplate } from './context'
1111
import type { GqlContext } from './context'
1212

1313
const logger = useLogger('nuxt-graphql-client')
1414

1515
export type ModuleOptions = Partial<GqlConfig>
16+
export type { GqlError }
1617

1718
export default defineNuxtModule<GqlConfig>({
1819
meta: {

0 commit comments

Comments
 (0)