chore: delete unused code

This commit is contained in:
Ilia Mashkov
2026-02-27 12:46:52 +03:00
parent 338f4e106c
commit 1b0451faff
2 changed files with 17 additions and 39 deletions

View File

@@ -0,0 +1,17 @@
import type { Snippet } from 'svelte';
/**
* Type for callback function to notify when the title visibility status changes
*
* @param index - Index of the section
* @param isPast - Whether the section is past the current scroll position
* @param title - Snippet for a title itself
* @param id - ID of the section
* @returns Cleanup callback
*/
export type TitleStatusChangeHandler = (
index: number,
isPast: boolean,
title?: Snippet<[{ className?: string }]>,
id?: string,
) => () => void;