diff --git a/src/entities/Font/model/store/unifiedFontStore.svelte.ts b/src/entities/Font/model/store/unifiedFontStore.svelte.ts index 4a430f0..460e521 100644 --- a/src/entities/Font/model/store/unifiedFontStore.svelte.ts +++ b/src/entities/Font/model/store/unifiedFontStore.svelte.ts @@ -1,8 +1,4 @@ -import { - type Filter, - type FilterModel, - createFilter, -} from '$shared/lib'; +import { type Filter } from '$shared/lib'; import { SvelteMap } from 'svelte/reactivity'; import type { FontProvider } from '../types'; import type { CheckboxFilter } from '../types/common'; diff --git a/src/shared/lib/fetch/collectionCache.test.ts b/src/shared/lib/fetch/collectionCache.test.ts index ee45846..090c951 100644 --- a/src/shared/lib/fetch/collectionCache.test.ts +++ b/src/shared/lib/fetch/collectionCache.test.ts @@ -7,7 +7,6 @@ import { vi, } from 'vitest'; import { - type CacheItemInternalState, type CacheOptions, createCollectionCache, } from './collectionCache'; @@ -152,7 +151,7 @@ describe('createCollectionCache', () => { it('resets cache statistics', () => { cache.set('key1', 100); // This increments hits - const statsBefore = cache.getStats(); + const _statsBefore = cache.getStats(); cache.clear(); const statsAfter = cache.getStats(); diff --git a/src/shared/lib/fetch/collectionCache.ts b/src/shared/lib/fetch/collectionCache.ts index 80b5fe9..4182d1e 100644 --- a/src/shared/lib/fetch/collectionCache.ts +++ b/src/shared/lib/fetch/collectionCache.ts @@ -130,8 +130,8 @@ export interface CollectionCacheManager { * } * ``` */ -export function createCollectionCache(options: CacheOptions = {}): CollectionCacheManager { - const { defaultTTL = 5 * 60 * 1000, maxSize = 1000 } = options; +export function createCollectionCache(_options: CacheOptions = {}): CollectionCacheManager { + // const { defaultTTL = 5 * 60 * 1000, maxSize = 1000 } = options; // Stores for reactive data const data: Writable> = writable({}); @@ -201,7 +201,7 @@ export function createCollectionCache(options: CacheOptions = {}): Collection * Set data in cache * Marks entry as ready and stops fetching state */ - set: (key: string, value: T, ttl?: number) => { + set: (key: string, value: T, _ttl?: number) => { data.update(d => ({ ...d, [key]: value, diff --git a/src/shared/lib/helpers/createFilter/createFilter.test.ts b/src/shared/lib/helpers/createFilter/createFilter.test.ts index 2450073..ee979bd 100644 --- a/src/shared/lib/helpers/createFilter/createFilter.test.ts +++ b/src/shared/lib/helpers/createFilter/createFilter.test.ts @@ -1,8 +1,4 @@ -import { - type Filter, - type Property, - createFilter, -} from '$shared/lib'; +import { createFilter } from '$shared/lib'; import { describe, expect, diff --git a/src/shared/ui/ComboControl/ComboControl.svelte.test.ts b/src/shared/ui/ComboControl/ComboControl.svelte.test.ts index 4e04ce3..d8d1298 100644 --- a/src/shared/ui/ComboControl/ComboControl.svelte.test.ts +++ b/src/shared/ui/ComboControl/ComboControl.svelte.test.ts @@ -632,7 +632,7 @@ describe('ComboControl Component', () => { await fireEvent.click(controlBtn); // Both should be present - const slider = await screen.findByRole('slider'); + const _slider = await screen.findByRole('slider'); const input = await screen.findByTestId('combo-control-input') as HTMLInputElement; // Input should show initial value @@ -843,7 +843,7 @@ describe('ComboControl Component', () => { it('letter spacing control with decimal precision', async () => { const control = createTestControl(0, { min: -0.1, max: 0.5, step: 0.01 }); - const { container } = render(ComboControl, { + const { container: _container } = render(ComboControl, { control, }); diff --git a/src/widgets/TypographySettings/index.ts b/src/widgets/TypographySettings/index.ts index e69de29..424f5a1 100644 --- a/src/widgets/TypographySettings/index.ts +++ b/src/widgets/TypographySettings/index.ts @@ -0,0 +1,3 @@ +import TypographyMenu from './ui/TypographyMenu.svelte'; + +export { TypographyMenu };