LSP Rewrite Step 2: refactor for @graphql-tools
#437
Annotations
10 errors and 1 warning
Run yarn build:
packages/graphql-language-service-server/src/parseDocument.ts#L13
'parse' is declared but its value is never read.
|
Run yarn build:
packages/graphql-language-service-server/src/GraphQLCache.ts#L636
Property '[Symbol.toStringTag]' is missing in type '{ body: string; locationOffset: Location; name: string; }' but required in type 'Source'.
|
Run yarn build:
packages/graphql-language-service-server/src/GraphQLCache.ts#L641
Type '{ line: number; column: number; }' is missing the following properties from type 'Token': kind, start, end, value, and 4 more.
|
Run yarn build:
packages/graphql-language-service-server/src/GraphQLCache.ts#L645
Type '{ line: number; column: number; }' is missing the following properties from type 'Token': kind, start, end, value, and 4 more.
|
Run yarn build:
packages/graphql-language-service-server/src/GraphQLCache.ts#L862
Type 'CachedContent | { ast: DocumentNode; documentString: string; range: Range | null; }' is not assignable to type 'CachedContent'.
|
Run yarn build:
packages/graphql-language-service-server/src/GraphQLCache.ts#L866
Type 'Range | null' is not assignable to type 'IRange | undefined'.
|
Run yarn build:
packages/graphql-language-service-server/src/GraphQLCache.ts#L892
Type 'Range | null' is not assignable to type 'IRange | undefined'.
|
Run yarn build:
packages/graphql-language-service-server/src/GraphQLCache.ts#L1006
Argument of type '({ ast: DocumentNode | undefined; documentString: string; range: IRange | null; } | { ast: null; documentString: string; range: IRange | null; })[]' is not assignable to parameter of type 'CachedContent[]'.
|
Run yarn build:
packages/graphql-language-service-server/src/GraphQLCache.ts#L1008
Argument of type '({ ast: DocumentNode | undefined; documentString: string; range: IRange | null; } | { ast: null; documentString: string; range: IRange | null; })[]' is not assignable to parameter of type 'CachedContent[]'.
|
Run yarn build:
packages/graphql-language-service-server/src/GraphQLCache.ts#L1025
Argument of type '{ filePath: string | undefined; uri: string | undefined; fsPath: string | undefined; content: string; definition: ScalarTypeDefinitionNode | ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | UnionTypeDefinitionNode | EnumTypeDefinitionNode | InputObjectTypeDefinitionNode; }' is not assignable to parameter of type 'ObjectTypeInfo'.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading