diff --git a/src/__tests__/fixtures/simpleSchema.ts b/src/__tests__/fixtures/simpleSchema.ts index 27784553..f63d048d 100644 --- a/src/__tests__/fixtures/simpleSchema.ts +++ b/src/__tests__/fixtures/simpleSchema.ts @@ -368,29 +368,10 @@ export type simpleSchema = { }; }; - ID: { - kind: 'SCALAR'; - name: 'ID'; - type: string; - }; - - String: { - kind: 'SCALAR'; - name: 'String'; - type: string; - }; - - Boolean: { - kind: 'SCALAR'; - name: 'Boolean'; - type: boolean; - }; - - Int: { - kind: 'SCALAR'; - name: 'Int'; - type: number; - }; + ID: unknown; + String: unknown; + Boolean: unknown; + Int: unknown; Author: { kind: 'OBJECT'; diff --git a/src/__tests__/selection.test-d.ts b/src/__tests__/selection.test-d.ts index 6810f10c..8d208e0f 100644 --- a/src/__tests__/selection.test-d.ts +++ b/src/__tests__/selection.test-d.ts @@ -12,7 +12,7 @@ import type { makeDefinitionDecoration, } from '../namespace'; -type schema = simpleSchema; +type schema = addIntrospectionScalars; test('infers simple fields', () => { type query = parseDocument; + describe('getVariablesType', () => { it('parses document-variables correctly', () => { const query = `