Exact Optional Property Types #182
Annotations
10 errors
src/api/client.ts#L65
Type 'number | undefined' is not assignable to type 'number' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
|
src/api/client.ts#L89
Type 'number | undefined' is not assignable to type 'number' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
|
src/api/client.ts#L115
Type 'number | undefined' is not assignable to type 'number' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
|
src/api/client.ts#L139
Type 'number | undefined' is not assignable to type 'number' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
|
src/api/client.ts#L168
Argument of type '{ name: string; query_sql: string; query_parameters: QueryParameter[] | undefined; is_private: boolean | undefined; }' is not assignable to parameter of type 'CreateQueryParams' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
src/api/client.ts#L230
Type '{ pingFrequency: number | undefined; }' is not assignable to type 'Options' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
src/api/execution.ts#L166
Type '{ data: string; next_uri: string | null; next_offset: number | undefined; }' is not assignable to type 'ExecutionResponseCSV' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
src/api/execution.ts#L212
Argument of type '{ query_parameters: QueryParameter[] | undefined; }' is not assignable to parameter of type 'ExecutionParams' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
src/types/requestArgs.ts#L184
Type '{ limit: number | undefined; offset: number | undefined; sample_count: number | undefined; filters: string | undefined; sort_by: string | undefined; columns: string | undefined; query_parameters: QueryParameter[]; }' is not assignable to type 'GetResultParams' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
src/types/response.ts#L22
Type 'number | undefined' is not assignable to type 'number' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
|
This job failed
Loading