Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
e5c7fb9
chore(NA): introduce some ts expect errors for v5.9.3
mistic Oct 20, 2025
80e96b7
chore(NA): add latest ts expected errors
mistic Oct 20, 2025
66dd678
chore(NA): fix extra typecheck failures
mistic Oct 20, 2025
ded9440
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Oct 20, 2025
46c3a9a
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Oct 20, 2025
4788c0f
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Oct 21, 2025
b0b2358
chore(NA): add types annotations
mistic Oct 22, 2025
d2550dd
fix(NA): adjust typecheck
mistic Oct 30, 2025
c176a72
chore(NA): merge and solve conflicts. down zod
mistic Oct 30, 2025
87353c1
fix(NA): types
mistic Oct 30, 2025
d0af48a
fix(NA): task usage
mistic Oct 30, 2025
7da45d0
fix(NA): typecheck
mistic Oct 30, 2025
67d9da3
fix(NA): typecheck requests
mistic Oct 30, 2025
cdc38ec
TO FIX: Run node 'scripts/yarn_deduplicate && yarn kbn bootstrap' loc…
kibanamachine Oct 30, 2025
fc9b511
fix(NA): typecheck for latest zod
mistic Oct 31, 2025
7bb5776
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Oct 31, 2025
492ca9b
chore(NA): merge and solve conflicts with main
mistic Nov 3, 2025
1bec5c5
chore(NA): merge and solve conflicts with main
mistic Nov 4, 2025
b3c6b5e
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Nov 4, 2025
3f47320
fix: resolve TS errors for @obs-ux-management code.
justinkambic Nov 4, 2025
1473e88
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Nov 4, 2025
081f4cc
fix: obs-ux-management ts errors.
justinkambic Nov 4, 2025
c1958fd
Merge remote-tracking branch 'upstream/main' into upgrade-typescript-…
justinkambic Nov 4, 2025
a2c2fa9
Merge branch 'upgrade-typescript-5.9.3' of github.com:mistic/kibana i…
justinkambic Nov 4, 2025
0e1e225
fixing some ML issues
jgowdyelastic Nov 4, 2025
89bf029
fix outstanding ts-error issue
delanni Nov 4, 2025
a218f66
Merge remote-tracking branch 'upstream/main' into upgrade-typescript-…
mistic Nov 4, 2025
7f9476e
chore(NA): update @typescript-eslint packages into 8.46.3
mistic Nov 4, 2025
07da5f7
Changes from node scripts/capture_oas_snapshot --include-path /api/…
kibanamachine Nov 5, 2025
fe85c23
response-ops typescript fixes
adcoelho Nov 5, 2025
127134d
fix Threat Hunting Investigations
PhilippeOberti Nov 6, 2025
7640676
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Nov 6, 2025
dbf8eff
fix ts error in aws_credentials_form_agentless
maxcold Nov 6, 2025
42ddf59
chore(NA): merge and solve conflicts with main
mistic Nov 9, 2025
6c202b9
fix(NA): types
mistic Nov 9, 2025
8705eed
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Nov 9, 2025
5a277c3
Merge remote-tracking branch 'upstream/main' into upgrade-typescript-…
mistic Nov 12, 2025
ae9d2f3
Merge remote-tracking branch 'upstream/main' into upgrade-typescript-…
mistic Nov 14, 2025
d6dfada
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Nov 17, 2025
c1121c2
chore(NA): type errors skip
mistic Nov 17, 2025
1e2fb13
chore(NA): merge and solve conflicts with main
mistic Nov 18, 2025
0461e9a
fix Rule Management area TS errors
maximpn Nov 19, 2025
ac4698a
fix: lens type errors due to max serialization length
nickofthyme Nov 20, 2025
61fd913
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Nov 20, 2025
5608429
fix: tagcloud type errors
nickofthyme Nov 20, 2025
6cb6e76
fix(NA): zod types
mistic Nov 21, 2025
73a01fe
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Nov 21, 2025
bb880d3
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Nov 21, 2025
6f4bf0b
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Nov 21, 2025
4299c18
chore(NA): merge and solve conflicts with main
mistic Nov 21, 2025
af1e33f
Merge branch 'upgrade-typescript-5.9.3' of github.com:mistic/kibana i…
mistic Nov 21, 2025
7157786
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Nov 24, 2025
461eff6
fix(NA): last types
mistic Nov 24, 2025
52e7a76
Merge branch 'main' into upgrade-typescript-5.9.3
mistic Nov 25, 2025
83645ff
Changes from node scripts/regenerate_moon_projects.js --update
kibanamachine Nov 25, 2025
e8b0685
Merge remote-tracking branch 'upstream/main' into upgrade-typescript-…
mistic Nov 25, 2025
4465b0d
fix(NA): last types
mistic Nov 25, 2025
58ff212
Changes from node scripts/regenerate_moon_projects.js --update
kibanamachine Nov 25, 2025
337659e
Fix Data Discovery types
davismcphee Nov 26, 2025
9b97e73
chore(NA): merge and solve conflicts with main
mistic Nov 27, 2025
e50008a
fix kibana-cases type issues
janmonschke Nov 27, 2025
b8fe769
fix(NA): jest tests snapshots
mistic Nov 28, 2025
9fc99a1
chore(NA): merge and solve conflicts with main
mistic Nov 28, 2025
367e8ac
chore(NA): resolve type failures
mistic Nov 28, 2025
4148aaa
chore(NA): merge and solve conflicts
mistic Nov 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@
"**/@langchain/core": "^0.3.78",
"**/@langchain/google-common": "^0.2.18",
"**/@types/node": "22.15.3",
"**/@typescript-eslint/utils": "8.16.0",
"**/@types/prop-types": "15.7.5",
"**/@typescript-eslint/utils": "8.46.3",
"**/chokidar": "^3.5.3",
"**/d3-scale/**/d3-color": "npm:@elastic/kibana-d3-color@2.0.1",
"**/globule/minimatch": "^3.1.2",
Expand All @@ -91,10 +92,10 @@
"**/langchain": "^0.3.35",
"**/remark-parse/trim": "1.0.1",
"**/sharp": "0.34.4",
"**/typescript": "5.4.5",
"**/typescript": "5.9.3",
"**/util": "^0.12.5",
"**/yauzl": "^3.2.0",
"**/zod": "^3.25.76",
"**/zod": "3.25.76",
"@aws-sdk/client-bedrock-agent-runtime": "^3.879.0",
"@aws-sdk/client-bedrock-runtime": "^3.879.0",
"@aws-sdk/client-kendra": "3.879.0",
Expand Down Expand Up @@ -1877,9 +1878,9 @@
"@types/yargs": "^15.0.0",
"@types/yauzl": "^2.10.3",
"@types/yazl": "^3.3.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"@typescript-eslint/typescript-estree": "^8.16.0",
"@typescript-eslint/eslint-plugin": "^8.46.3",
"@typescript-eslint/parser": "^8.46.3",
"@typescript-eslint/typescript-estree": "^8.46.3",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"@yarnpkg/lockfile": "^1.1.0",
"aggregate-error": "^3.1.0",
Expand Down Expand Up @@ -2049,7 +2050,7 @@
"tree-kill": "^1.2.2",
"ts-morph": "^15.1.0",
"tsd": "^0.33.0",
"typescript": "5.4.5",
"typescript": "5.9.3",
"val-loader": "^6.0.0",
"vinyl-fs": "^4.0.0",
"watchpack": "^1.6.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ describe('OverlayBannersService', () => {
i18n: i18nServiceMock.createStartContract(),
theme: themeServiceMock.createStartContract(),
uiSettings,
// @ts-expect-error upgrade typescript v5.9.3
userProfile,
});
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ export const expectBulkGetResult = (
) => ({
type,
id,
// @ts-expect-error upgrade typescript v5.9.3
namespaces: doc._source!.namespaces ?? [doc._source!.namespace] ?? ['default'],
...(doc._source!.originId && { originId: doc._source!.originId }),
...(doc._source!.updated_at && { updated_at: doc._source!.updated_at }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('ES Client - custom user-agent', () => {

afterAll(async () => {
try {
// @ts-expect-error upgrade typescript v5.9.3
await kibanaServer?.shutdown();
} catch (e) {
// trap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,14 @@ export class ImportResolver {
return Path.resolve(REPO_ROOT, `node_modules/@typescript-eslint/parser/dist/index.js`);
}

// zod migration from v3 to v4
if (req.startsWith('zod/v4')) {
return Path.resolve(REPO_ROOT, `node_modules/zod/v4/index.cjs`);
}
if (req.startsWith('zod') || req.startsWith('zod/v3')) {
return Path.resolve(REPO_ROOT, `node_modules/zod/v3/index.cjs`);
}

// turn root-relative paths into relative paths
if (
req.startsWith('src/') ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ describe(`assertTelemetryPayload`, () => {
{
root: {
properties: {
// @ts-expect-error: TS doesn't allow pass_through with properties, but it may occur during the tests in runtime, so we want to validate this test case.
im_only_passing_through_data: { type: 'pass_through', properties: {} },
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export const searchAlerts = ({
total,
querySnapshot: {
request: response?.inspect?.dsl ?? [],
// @ts-expect-error upgrade typescript v5.9.3
response: [JSON.stringify(rawResponse)] ?? [],
},
error: alertsError,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe('useFetchAlertsFieldsQuery', () => {
initialProps: {
ruleTypeIds: ['apm'],
enabled: false,
},
} as { ruleTypeIds: string[]; enabled?: boolean },
}
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ const { dotTextTransform } = require('./dot_text');
const { babelTransform } = require('./babel');

module.exports = {
/**
* @type {Record<string, import('./types').Transform>}
*/
TRANSFORMS: {
'.peggy': peggyTransform,
'.text': dotTextTransform,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export function ColorRanges({
gutterSize="s"
>
{colorRanges.map((colorRange, index) => (
// @ts-expect-error upgrade typescript v5.9.3
<EuiFlexItem grow={false} key={`${colorRange.end ?? 0 + colorRange.start ?? 0}${index}`}>
<ColorRangeItem
colorRange={colorRange}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export function getHelpForAllCommands({
return [
chalk.bold.whiteBright.bgBlack(` ${dedent(command.usage || '') || command.name} `),
` ${indent(dedent(command.description || 'Runs a dev task'), 2)}`,
...([indent(options, 2)] || []),
...[indent(options, 2)],
].join('\n');
})
.join('\n');
Expand Down
3 changes: 2 additions & 1 deletion src/platform/packages/shared/kbn-dev-utils/src/streams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
import { Transform } from 'stream';

import type File from 'vinyl';
import type { DirectoryFile } from 'vinyl';

interface BufferedFile extends File {
contents: Buffer;
isDirectory(): false;
isDirectory(): this is DirectoryFile;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export const getFieldValue = <TRecord extends DataTableRecord, TField extends st
field: TField & keyof TRecord['flattened']
): TRecord['flattened'][TField] => {
const value = record.flattened[field];
return Array.isArray(value) ? value[0] : value;
return Array.isArray(value) ? value[0] : (value as TRecord['flattened'][TField]);
};
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,19 @@ describe('Type checking with TypeScript compiler', () => {
],
},
Object {
"errorMessage": "Type 'Error & \\"The following keys are missing from the document fields: createdAt\\"' is not assignable to type 'MissingKeysError<\\"definedButNotInDocOne\\" | \\"definedButNotInDocTwo\\">'.",
"errorMessage": "Type 'Error & \\"The following keys are missing from the document fields: createdAt\\"' is not assignable to type 'MissingKeysError<\\"definedButNotInDocOne\\" | \\"definedButNotInDocTwo\\">'.
Type 'Error & \\"The following keys are missing from the document fields: createdAt\\"' is not assignable to type 'Error & \\"The following keys are missing from the document fields: definedButNotInDocTwo\\"'.
Type 'Error & \\"The following keys are missing from the document fields: createdAt\\"' is not assignable to type '\\"The following keys are missing from the document fields: definedButNotInDocTwo\\"'.",
"lineNumber": 113,
"tsErrorLine": Array [
"Type Error Explanation: createdAt is in the definition, this checks that an error is not thrown for defined keys",
"Error Line [113]: Object.assign(new Error(), 'The following keys are missing from the document fields: createdAt'),",
],
},
Object {
"errorMessage": "Type 'Error & \\"The following keys are missing from the document fields: Unknown Key\\"' is not assignable to type 'MissingKeysError<\\"definedButNotInDocOne\\" | \\"definedButNotInDocTwo\\">'.",
"errorMessage": "Type 'Error & \\"The following keys are missing from the document fields: Unknown Key\\"' is not assignable to type 'MissingKeysError<\\"definedButNotInDocOne\\" | \\"definedButNotInDocTwo\\">'.
Type 'Error & \\"The following keys are missing from the document fields: Unknown Key\\"' is not assignable to type 'Error & \\"The following keys are missing from the document fields: definedButNotInDocTwo\\"'.
Type 'Error & \\"The following keys are missing from the document fields: Unknown Key\\"' is not assignable to type '\\"The following keys are missing from the document fields: definedButNotInDocTwo\\"'.",
"lineNumber": 115,
"tsErrorLine": Array [
"Type Error Explanation: Unknown Key is not in the definition, this checks that an error is thrown for the unknown key",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export class QueryColumns {
// Remove oldest entry if cache is full
while (QueryColumns.cache.size >= QueryColumns.MAX_CACHE_SIZE) {
const oldestKey = QueryColumns.cache.keys().next().value;
// @ts-expect-error upgrade typescript v5.9.3
QueryColumns.cache.delete(oldestKey);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export class LensConfigBuilder {
throw new Error(`No API converter found for chart type: ${visType} as ${type}`);
}
const converter = this.apiConvertersByChart[type as keyof typeof this.apiConvertersByChart];
// @ts-expect-error upgrade typescript v5.9.3
return {
...converter.fromLensStateToAPI(config),
...filtersAndQueryToApiFormat(config),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/

import type { TypeOf } from '@kbn/config-schema';
import type { Type } from '@kbn/config-schema';
import { schema } from '@kbn/config-schema';
import type { MetricState } from './charts/metric';
import { metricStateSchema } from './charts/metric';
import type { LegacyMetricState } from './charts/legacy_metric';
import { legacyMetricStateSchema } from './charts/legacy_metric';
import type { GaugeState } from './charts/gauge';
import { gaugeStateSchema } from './charts/gauge';
import type { TagcloudState } from './charts/tagcloud';
import { tagcloudStateSchema } from './charts/tagcloud';
import type {
LensApiAllMetricOrFormulaOperations,
Expand All @@ -20,15 +24,25 @@ import type {
import type { LensApiBucketOperations } from './bucket_ops';
import { xyStateSchema } from './charts/xy';

export const lensApiStateSchema = schema.oneOf([
/**
* We need to break the type inference here to avoid exceeding the ts compiler serialization limit.
*
* This requires:
* - Casting the schema as any
* - Defining the `LensApiState` type from the schema types
* - Exporting this value as `Type<LensApiState>`
*/
export const _lensApiStateSchema: any = schema.oneOf([
metricStateSchema,
legacyMetricStateSchema,
xyStateSchema,
gaugeStateSchema,
tagcloudStateSchema,
]);

export type LensApiState = TypeOf<typeof lensApiStateSchema>;
export type LensApiState = MetricState | LegacyMetricState | GaugeState | TagcloudState;

export const lensApiStateSchema: Type<LensApiState> = _lensApiStateSchema;

export type { MetricState, metricStateSchemaNoESQL } from './charts/metric';
export type { LegacyMetricState, legacyMetricStateSchemaNoESQL } from './charts/legacy_metric';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ describe('XY', () => {
it.each(universalTypes)('should work for for a minimal %s', (type) => {
validateAPIConverter(
{
// @ts-expect-error upgrade typescript v5.9.3
type: 'xy',
title: `${type} Chart`,
layers: [
Expand All @@ -142,6 +143,7 @@ describe('XY', () => {
it.each(anyType)('should work for ES|QL mode for a minimal %s chart with breakdown', (type) => {
validateAPIConverter(
{
// @ts-expect-error upgrade typescript v5.9.3
type: 'xy',
title: `${type} Chart`,
layers: [
Expand Down Expand Up @@ -169,6 +171,7 @@ describe('XY', () => {
(type1, type2) => {
validateAPIConverter(
{
// @ts-expect-error upgrade typescript v5.9.3
type: 'xy',
title: `Mixed Chart`,
layers: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ type XYLensWithoutQueryAndFilters = Omit<XYLens, 'state'> & { state: XYLensState
export function fromAPItoLensState(config: XYState): XYLensWithoutQueryAndFilters {
// convert layers and produce references from them
const { layers, usedDataviews } = buildDatasourceStates(
// @ts-expect-error upgrade typescript v5.9.3
config,
buildFormBasedXYLayer,
getValueColumns
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,9 @@ export const buildDatasourceStates = (
> = {};
// a few charts types support multiple layers
const configLayers = 'layers' in config ? config.layers : [config];
// @ts-expect-error upgrade typescript v5.9.3
for (let i = 0; i < configLayers.length; i++) {
// @ts-expect-error upgrade typescript v5.9.3
const layer = configLayers[i];
const layerId = `${layer.type ?? 'layer'}_${i}`;
const dataset = 'dataset' in layer ? layer.dataset : mainDataset;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const deriveValue = (type: SettingType, value: unknown): Value => {
case 'boolean':
return Boolean(value);
case 'array':
return Array.isArray(value) ? value : [value];
return (Array.isArray(value) ? value : [value]) as Value;
default:
return value as string;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ export function calculateObjectDiff<TBase extends Obj, TCompare extends Obj>(
removedMap[key] = [];
updatedMap[key] = [];
diffRecursive(
// @ts-expect-error upgrade typescript v5.9.3
base[key] as Obj,
// @ts-expect-error upgrade typescript v5.9.3
compare[key] as Obj,
addedMap[key] as Obj,
removedMap[key] as Obj,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ module.exports = (request, options) => {
}

if (request.startsWith('zod/v4/')) {
return resolve.sync(`${request}/index.cjs`, {
return resolve.sync(`zod/v4/index.cjs`, {
basedir: options.basedir,
extensions: options.extensions,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const buildDataViewMock = ({
toMinimalSpec: () => ({}),
} as unknown as DataView;

dataView.isTimeBased = () => !!timeFieldName;
dataView.isTimeBased = (() => !!timeFieldName) as DataView['isTimeBased'];

return dataView;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const WorkflowSelector: React.FC<WorkflowSelectorProps> = ({
};

const content = (
// @ts-expect-error upgrade typescript v5.9.3
<>
<>
{getPrependContent(option)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export const combineCompatibleChildrenApis = <ApiType extends unknown, Publishin
const compatibleChildren: Array<Observable<PublishingSubjectType>> = [];
for (const child of Object.values(children)) {
if (isCompatible(child) && isObservable(child[observableKey]))
// @ts-expect-error upgrade typescript v5.9.3
compatibleChildren.push(child[observableKey] as BehaviorSubject<PublishingSubjectType>);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ describe('AlertsDataGrid bulk actions', () => {
return (
<QueryClientProvider client={queryClient} context={AlertsQueryContext}>
<IntlProvider locale="en">
{/* @ts-expect-error upgrade typescript v5.9.3 */}
<AlertsTableContextProvider value={renderContext}>
<AlertsDataGrid {...({ ...props, renderContext } as BaseAlertsDataGridProps)} />
</AlertsTableContextProvider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export const RuleActionsSettings = (props: RuleActionsSettingsProps) => {
? getDurationUnitValue(action.frequency?.throttle)
: 'h';

// @ts-expect-error upgrade typescript v5.9.3
const [minimumActionThrottle = -1, minimumActionThrottleUnit] = [
intervalNumber,
intervalUnit,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "@kbn/tsconfig-base/tsconfig.json",
"compilerOptions": {
"outDir": "target/types",
"types": [ ]
},
"include": [
"**/*.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export const AddData: FC<Props> = ({ addBasePath, features }) => {

AddData.propTypes = {
addBasePath: PropTypes.func.isRequired,
// @ts-expect-error upgrade typescript v5.9.3
features: PropTypes.arrayOf(
PropTypes.shape({
id: PropTypes.string.isRequired,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export const ManageData: FC<Props> = ({ addBasePath, features }) => {
};

ManageData.propTypes = {
// @ts-expect-error upgrade typescript v5.9.3
features: PropTypes.arrayOf(
PropTypes.shape({
id: PropTypes.string.isRequired,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ function TimeIntervalParamEditor({
) : null;

const helpText = (
// @ts-expect-error upgrade typescript v5.9.3
<>
{scaledHelpText}
{get(editorConfig, 'interval.help') || selectOptionHelpText}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export function createVegaRequestHandler(
let dataView: DataView;
const firstFilterIndex = filters[0]?.meta.index;
if (firstFilterIndex) {
// @ts-expect-error upgrade typescript v5.9.3
dataView = await dataViews.get(firstFilterIndex).catch(() => undefined);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,6 @@ export const renderEndzoneTooltip =
);
}

// @ts-expect-error upgrade typescript v5.9.3
return renderValue ? formattedValue : null;
};
Loading
Loading