The following errors were reported by 4.8.0-dev.20220609, but not by 4.7.3
Pipeline that generated this bug
File that generated the pipeline
error TS2344: Type 'K' does not satisfy the constraint 'Record<string, any>'.
- file:///mnt/ts_downloads/developer-roadmap/node_modules/@chakra-ui/descendant/src/use-descendant.ts#L11
- file:///mnt/ts_downloads/developer-roadmap/node_modules/@chakra-ui/descendant/src/use-descendant.ts#L87
- file:///mnt/ts_downloads/developer-roadmap/node_modules/@chakra-ui/descendant/src/use-descendant.ts#L91
7 of 57 projects failed to build with the old tsc
error TS2322: Type '(_target: T, propKey: PropertyKey) => unknown' is not assignable to type '(target: object, p: string | symbol, receiver: any) => any'.
error TS2322: Type '(_target: T, propKey: PropertyKey) => unknown' is not assignable to type '(target: object, p: string | symbol, receiver: any) => any'.
error TS2322: Type 'T' is not assignable to type 'RemoteServiceStub<T>'.
error TS2409: Return type of constructor signature must be assignable to the instance type of the class.
4 of 9 projects failed to build with the old tsc
error TS2344: Type 'T' does not satisfy the constraint 'Channel'.
2 of 3 projects failed to build with the old tsc
error TS2344: Type 'BaseType' does not satisfy the constraint 'Record<string | number, any>'.
- file:///mnt/ts_downloads/hyper/app/node_modules/type-fest/ts41/get.d.ts#L93 in app/tsconfig.json
- file:///mnt/ts_downloads/hyper/app/node_modules/type-fest/ts41/get.d.ts#L94 in app/tsconfig.json
error TS2344: Type 'T' does not satisfy the constraint 'Record<string, any>'.
- file:///mnt/ts_downloads/hyper/app/node_modules/conf/dist/source/types.d.ts#L201 in app/tsconfig.json
2 of 3 projects failed to build with the old tsc
error TS2344: Type 'TFieldValues' does not satisfy the constraint 'FieldValues'.
error TS2344: Type 'T' does not satisfy the constraint 'FieldValues'.
error TS2322: Type 'Control<T, any>' is not assignable to type 'Control<FieldValues, any>'.
error TS2345: Argument of type 'U' is not assignable to parameter of type 'Partial<{ shouldValidate: boolean; shouldDirty: boolean; shouldTouch: boolean; }> | undefined'.
error TS2533: Object is possibly 'null' or 'undefined'.
error TS2344: Type 'Entity' does not satisfy the constraint 'ObjectLiteral'.
error TS2345: Argument of type 'DeepPartial<Entity>' is not assignable to parameter of type 'ObjectLiteral'.
error TS2345: Argument of type 'T | T[]' is not assignable to parameter of type 'ObjectLiteral | ObjectLiteral[]'.
error TS2345: Argument of type 'Entity | Entity[]' is not assignable to parameter of type 'ObjectLiteral | ObjectLiteral[]'.
error TS2345: Argument of type 'EntityTarget<Entity>' is not assignable to parameter of type 'EntityTarget<ObjectLiteral>'.
error TS2322: Type 'MongoRepository<ObjectLiteral>' is not assignable to type 'Repository<Entity>'.
error TS2345: Argument of type 'Entity[]' is not assignable to parameter of type 'ObjectLiteral[]'.
error TS2345: Argument of type 'E1 | E1[]' is not assignable to parameter of type 'ObjectLiteral | ObjectLiteral[]'.
error TS2345: Argument of type 'Entity' is not assignable to parameter of type 'ObjectLiteral | undefined'.
error TS2322: Type 'Entity[]' is not assignable to type 'ObjectLiteral[]'.
error TS2345: Argument of type 'T' is not assignable to parameter of type 'ObjectLiteral'.
error TS2344: Type 'T' does not satisfy the constraint 'ObjectLiteral'.
error TS2345: Argument of type 'Entity' is not assignable to parameter of type 'ObjectLiteral'.
error TS2769: No overload matches this call.
error TS2322: Type 'Repository<ObjectLiteral>' is not assignable to type 'Repository<T>'.
7 of 9 projects failed to build with the old tsc
error TS2322: Type 'IIsObservableObject & Object' is not assignable to type 'T'.
error TS2345: Argument of type 'T' is not assignable to parameter of type 'Object'.
13 of 27 projects failed to build with the old tsc
error TS2339: Property 'className' does not exist on type '{}'.
error TS2339: Property 'popoverClassName' does not exist on type '{}'.
error TS2339: Property 'onClose' does not exist on type '{}'.
error TS2339: Property 'fill' does not exist on type '{}'.
error TS2339: Property 'inputProps' does not exist on type '{}'.
error TS2339: Property 'className' does not exist on type '{}'.
error TS2339: Property 'popoverClassName' does not exist on type '{}'.
error TS2339: Property 'modifiers' does not exist on type '{}'.
error TS7006: Parameter 'data' implicitly has an 'any' type.
error TS2339: Property 'usePortal' does not exist on type '{}'.
error TS2339: Property 'wrapperTagName' does not exist on type '{}'.
error TS2345: Argument of type '{ store: EntityStore; rootId: string; config: InMemoryCacheConfig; previousResult?: any; optimistic: boolean; returnPartialData?: boolean | undefined; canonizeResults?: boolean | undefined; query: DocumentNode | TypedDocumentNode<...>; variables?: TVariables | undefined; id?: string | undefined; }' is not assignable to parameter of type 'DiffQueryAgainstStoreOptions'.
error TS2345: Argument of type 'SubscriptionOptions<TVariables, T>' is not assignable to parameter of type 'SubscriptionOptions<OperationVariables, any>'.
error TS2322: Type 'TSubscriptionVariables | undefined' is not assignable to type 'OperationVariables | undefined'.
error TS2345: Argument of type 'TVariables' is not assignable to parameter of type 'OperationVariables | undefined'.
error TS2345: Argument of type 'TVariables | undefined' is not assignable to parameter of type 'OperationVariables | undefined'.
error TS2322: Type 'ObservableQuery<T, TVariables>' is not assignable to type 'ObservableQuery<any, OperationVariables>'.
error TS2322: Type 'TVariables | undefined' is not assignable to type 'Record<string, any> | undefined'.
error TS2345: Argument of type 'TVars | undefined' is not assignable to parameter of type 'OperationVariables | undefined'.
error TS2345: Argument of type 'Pick<WatchQueryOptions<TVars, TData>, "variables" | "context" | "fetchPolicy" | "errorPolicy">' is not assignable to parameter of type 'Pick<WatchQueryOptions<OperationVariables, any>, "variables" | "fetchPolicy" | "errorPolicy">'.
error TS2345: Argument of type 'TVars | (undefined & TVars)' is not assignable to parameter of type 'OperationVariables | undefined'.
error TS2345: Argument of type '(variables: TVars) => ConcastSourcesIterable<ApolloQueryResult<TData>>' is not assignable to parameter of type '(value: { [x: string]: any; }) => ConcastSourcesIterable<ApolloQueryResult<TData>> | PromiseLike<ConcastSourcesIterable<ApolloQueryResult<TData>>>'.
error TS2345: Argument of type 'WatchQueryOptions<TVars, TData>' is not assignable to parameter of type 'WatchQueryOptions<OperationVariables, any>'.
error TS2322: Type 'TVars | undefined' is not assignable to type 'Record<string, any> | undefined'.
error TS2345: Argument of type 'TVars | undefined' is not assignable to parameter of type 'Record<string, any> | undefined'.
error TS2345: Argument of type 'OperationOption<TProps, TData, TGraphQLVariables, TChildProps, DefaultContext, ApolloCache<any>>' is not assignable to parameter of type 'OperationOption<TProps, Record<string, any>, TGraphQLVariables, TChildProps, DefaultContext, ApolloCache<any>>'.
error TS2322: Type '(mutate: MutationFunction<TData, TGraphQLVariables>, { data, ...r }: MutationResult<TData>) => JSX.Element' is not assignable to type '(mutateFunction: MutationFunction<any, OperationVariables, DefaultContext, ApolloCache<any>>, result: MutationResult<...>) => Element | null'.
error TS2322: Type 'TProps & TChildProps' is not assignable to type 'IntrinsicAttributes & TProps & TChildProps & { children?: ReactNode; }'.
error TS2322: Type 'TChildProps' is not assignable to type '{ [x: string]: any; }'.
error TS2769: No overload matches this call.
error TS2345: Argument of type 'TRelayEdge<TNode>' is not assignable to parameter of type 'Reference | StoreObject | undefined'.
The following errors were reported by 4.8.0-dev.20220609, but not by 4.7.3
Pipeline that generated this bug
File that generated the pipeline
kamranahmedse/developer-roadmap
tsconfig.json
error TS2344: Type 'K' does not satisfy the constraint 'Record<string, any>'.coder/code-server
7 of 57 projects failed to build with the old tsc
src/tsconfig.monaco.json
error TS2322: Type '(_target: T, propKey: PropertyKey) => unknown' is not assignable to type '(target: object, p: string | symbol, receiver: any) => any'.src/tsconfig.tsec.json
error TS2322: Type '(_target: T, propKey: PropertyKey) => unknown' is not assignable to type '(target: object, p: string | symbol, receiver: any) => any'.error TS2322: Type 'T' is not assignable to type 'RemoteServiceStub<T>'.error TS2409: Return type of constructor signature must be assignable to the instance type of the class.microsoft/playwright
4 of 9 projects failed to build with the old tsc
packages/html-reporter/tsconfig.json
error TS2344: Type 'T' does not satisfy the constraint 'Channel'.vercel/hyper
2 of 3 projects failed to build with the old tsc
tsconfig.json
error TS2344: Type 'BaseType' does not satisfy the constraint 'Record<string | number, any>'.error TS2344: Type 'T' does not satisfy the constraint 'Record<string, any>'.react-hook-form/react-hook-form
2 of 3 projects failed to build with the old tsc
tsconfig.json
error TS2344: Type 'TFieldValues' does not satisfy the constraint 'FieldValues'.error TS2344: Type 'T' does not satisfy the constraint 'FieldValues'.error TS2322: Type 'Control<T, any>' is not assignable to type 'Control<FieldValues, any>'.error TS2345: Argument of type 'U' is not assignable to parameter of type 'Partial<{ shouldValidate: boolean; shouldDirty: boolean; shouldTouch: boolean; }> | undefined'.error TS2533: Object is possibly 'null' or 'undefined'.typeorm/typeorm
tsconfig.json
error TS2344: Type 'Entity' does not satisfy the constraint 'ObjectLiteral'.error TS2345: Argument of type 'DeepPartial<Entity>' is not assignable to parameter of type 'ObjectLiteral'.error TS2345: Argument of type 'T | T[]' is not assignable to parameter of type 'ObjectLiteral | ObjectLiteral[]'.error TS2345: Argument of type 'Entity | Entity[]' is not assignable to parameter of type 'ObjectLiteral | ObjectLiteral[]'.error TS2345: Argument of type 'EntityTarget<Entity>' is not assignable to parameter of type 'EntityTarget<ObjectLiteral>'.error TS2322: Type 'MongoRepository<ObjectLiteral>' is not assignable to type 'Repository<Entity>'.error TS2345: Argument of type 'Entity[]' is not assignable to parameter of type 'ObjectLiteral[]'.error TS2345: Argument of type 'E1 | E1[]' is not assignable to parameter of type 'ObjectLiteral | ObjectLiteral[]'.error TS2345: Argument of type 'Entity' is not assignable to parameter of type 'ObjectLiteral | undefined'.error TS2322: Type 'Entity[]' is not assignable to type 'ObjectLiteral[]'.error TS2345: Argument of type 'T' is not assignable to parameter of type 'ObjectLiteral'.error TS2344: Type 'T' does not satisfy the constraint 'ObjectLiteral'.error TS2345: Argument of type 'Entity' is not assignable to parameter of type 'ObjectLiteral'.error TS2769: No overload matches this call.error TS2322: Type 'Repository<ObjectLiteral>' is not assignable to type 'Repository<T>'.mobxjs/mobx
7 of 9 projects failed to build with the old tsc
packages/mobx/tsconfig.json
error TS2322: Type 'IIsObservableObject & Object' is not assignable to type 'T'.error TS2345: Argument of type 'T' is not assignable to parameter of type 'Object'.palantir/blueprint
13 of 27 projects failed to build with the old tsc
packages/datetime/src/tsconfig.json
error TS2339: Property 'className' does not exist on type '{}'.error TS2339: Property 'popoverClassName' does not exist on type '{}'.error TS2339: Property 'onClose' does not exist on type '{}'.packages/select/src/tsconfig.json
error TS2339: Property 'fill' does not exist on type '{}'.error TS2339: Property 'inputProps' does not exist on type '{}'.error TS2339: Property 'className' does not exist on type '{}'.error TS2339: Property 'popoverClassName' does not exist on type '{}'.error TS2339: Property 'modifiers' does not exist on type '{}'.error TS7006: Parameter 'data' implicitly has an 'any' type.error TS2339: Property 'usePortal' does not exist on type '{}'.error TS2339: Property 'wrapperTagName' does not exist on type '{}'.apollographql/apollo-client
tsconfig.json
error TS2345: Argument of type '{ store: EntityStore; rootId: string; config: InMemoryCacheConfig; previousResult?: any; optimistic: boolean; returnPartialData?: boolean | undefined; canonizeResults?: boolean | undefined; query: DocumentNode | TypedDocumentNode<...>; variables?: TVariables | undefined; id?: string | undefined; }' is not assignable to parameter of type 'DiffQueryAgainstStoreOptions'.error TS2345: Argument of type 'SubscriptionOptions<TVariables, T>' is not assignable to parameter of type 'SubscriptionOptions<OperationVariables, any>'.error TS2322: Type 'TSubscriptionVariables | undefined' is not assignable to type 'OperationVariables | undefined'.error TS2345: Argument of type 'TVariables' is not assignable to parameter of type 'OperationVariables | undefined'.error TS2345: Argument of type 'TVariables | undefined' is not assignable to parameter of type 'OperationVariables | undefined'.error TS2322: Type 'ObservableQuery<T, TVariables>' is not assignable to type 'ObservableQuery<any, OperationVariables>'.error TS2322: Type 'TVariables | undefined' is not assignable to type 'Record<string, any> | undefined'.error TS2345: Argument of type 'TVars | undefined' is not assignable to parameter of type 'OperationVariables | undefined'.error TS2345: Argument of type 'Pick<WatchQueryOptions<TVars, TData>, "variables" | "context" | "fetchPolicy" | "errorPolicy">' is not assignable to parameter of type 'Pick<WatchQueryOptions<OperationVariables, any>, "variables" | "fetchPolicy" | "errorPolicy">'.error TS2345: Argument of type 'TVars | (undefined & TVars)' is not assignable to parameter of type 'OperationVariables | undefined'.error TS2345: Argument of type '(variables: TVars) => ConcastSourcesIterable<ApolloQueryResult<TData>>' is not assignable to parameter of type '(value: { [x: string]: any; }) => ConcastSourcesIterable<ApolloQueryResult<TData>> | PromiseLike<ConcastSourcesIterable<ApolloQueryResult<TData>>>'.error TS2345: Argument of type 'WatchQueryOptions<TVars, TData>' is not assignable to parameter of type 'WatchQueryOptions<OperationVariables, any>'.error TS2322: Type 'TVars | undefined' is not assignable to type 'Record<string, any> | undefined'.error TS2345: Argument of type 'TVars | undefined' is not assignable to parameter of type 'Record<string, any> | undefined'.error TS2345: Argument of type 'OperationOption<TProps, TData, TGraphQLVariables, TChildProps, DefaultContext, ApolloCache<any>>' is not assignable to parameter of type 'OperationOption<TProps, Record<string, any>, TGraphQLVariables, TChildProps, DefaultContext, ApolloCache<any>>'.error TS2322: Type '(mutate: MutationFunction<TData, TGraphQLVariables>, { data, ...r }: MutationResult<TData>) => JSX.Element' is not assignable to type '(mutateFunction: MutationFunction<any, OperationVariables, DefaultContext, ApolloCache<any>>, result: MutationResult<...>) => Element | null'.error TS2322: Type 'TProps & TChildProps' is not assignable to type 'IntrinsicAttributes & TProps & TChildProps & { children?: ReactNode; }'.error TS2322: Type 'TChildProps' is not assignable to type '{ [x: string]: any; }'.error TS2769: No overload matches this call.error TS2345: Argument of type 'TRelayEdge<TNode>' is not assignable to parameter of type 'Reference | StoreObject | undefined'.