remove manually created typing d ts file (#249)

* Rename file

".d.ts" files are files that are automatically generated during compilation (in case option is set) and shouldn't be created manually.

* Export types and interfaces

* Add missing imports
This commit is contained in:
Daniel
2023-02-24 19:10:37 +03:30
committed by GitHub
parent 1914a61edd
commit 96fd1cf73b
57 changed files with 117 additions and 47 deletions
+12
View File
@@ -8,6 +8,18 @@
import { mutate } from 'swr';
import client from 'util/client';
import {
AllowedMetadataValueTypes,
AppMetadataKeys,
ICategory,
IManga,
IMangaCard,
IMangaChapter,
IMetadata,
IMetadataHolder,
IMetadataMigration,
MetadataKeyValuePair,
} from 'typings';
const APP_METADATA_KEY_PREFIX = 'webUI_';
+1
View File
@@ -8,6 +8,7 @@
import { getMetadataFrom, requestUpdateMangaMetadata, requestUpdateServerMetadata } from 'util/metadata';
import { useQuery } from 'util/client';
import { IManga, IMetadata, IMetadataHolder, IReaderSettings, MetadataKeyValuePair } from 'typings';
export const getDefaultSettings = (forceUndefined: boolean = false) =>
({