You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d8aa07f
Browse filesBrowse the repository at this point in the historyBrowse files
chore: enable strict: true in root tsconfig (#4683) (#10985)
* test: reproduce #4683 — enable `strict: true` in root tsconfig (failing)
Replace the individual strictness flags (`alwaysStrict`, `noImplicitThis`,
`noImplicitAny: false`, `strictNullChecks: false`) with `strict: true`.
`tsc --noEmit` now reports 351 type errors across packages/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016PjJDfAYR1JPdgiQRvvZZy
eddeee888:oss:issue-verify
* chore: add changeset for declaration changes from strict tsconfig (#4683)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix: satisfy strict mode with graphql 15 typings (#4683)
graphql 15 types Maybe<T> as T | null | undefined, so the CI matrix's
graphql 15 build hits three strict errors that 16/17 don't:
- getPossibleTypes accepts null, which schema.getType() returns on 15
- includeIntrospectionTypesDefinitions skips getNamedType when the field
type is missing
- graphql-modules preset checks schemaAst.extensions before reading sources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
Build with `strict: true`, which changes these emitted type declarations:
11
+
12
+
-`@graphql-codegen/cli`: `mkdirp` returns `Promise<string | undefined>`, and the `require` (`-r`) CLI option's `default` is typed `never[]` instead of `any[]`.
13
+
-`@graphql-codegen/visitor-plugin-common`: `BaseResolversVisitor` and `BaseTypesVisitor``SchemaDefinition()`/`SchemaExtension()` return `null` instead of `any`.
14
+
-`@graphql-codegen/visitor-plugin-common`: `BaseSelectionSetProcessor.typeCache` is keyed by `Location | undefined`.
-`@graphql-codegen/graphql-modules-preset`: a schema without `extensions` (graphql 15) throws the "requires to use GraphQL SDL" error instead of a `TypeError`.
0 commit comments