From b74128bd299bde61d911232697ab33ccb8ddb848 Mon Sep 17 00:00:00 2001 From: Jan Monschke Date: Thu, 26 Sep 2024 15:26:51 +0200 Subject: [PATCH] Remove comments --- .../security_solution/public/timelines/containers/api.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/x-pack/plugins/security_solution/public/timelines/containers/api.ts b/x-pack/plugins/security_solution/public/timelines/containers/api.ts index 52befd485471d..738ff3369bcc0 100644 --- a/x-pack/plugins/security_solution/public/timelines/containers/api.ts +++ b/x-pack/plugins/security_solution/public/timelines/containers/api.ts @@ -69,10 +69,6 @@ const parseOrThrow = parseOrThrowErrorFactory(createToasterPlainError); const decodeTimelineResponse = (respTimeline?: PersistTimelineResponse | TimelineErrorResponse) => parseOrThrow(PersistTimelineResponse)(respTimeline); -// - migrate over all decode functions -// - make that where theyre used, the correct new types are used and none of the legacy types -// - Check what can be done about TimelineErrorResponse -// - check in timeline/api.ts if more types can be removed const decodeSingleTimelineResponse = (respTimeline?: GetTimelineResponse) => parseOrThrow(GetTimelineResponse)(respTimeline);