about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-06-02 14:59:33 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-06-02 14:59:33 +0300
commit5b9e0156f2d278592d7ade1aa7b5ac062d5f3ae0 (patch)
tree14abc17dfcd214a3b4551e0255e9512c08207981 /src
parentb58f0a8f2431040edf94edb21f9c884f20ba6049 (diff)
downloadthe-epube-5b9e0156f2d278592d7ade1aa7b5ac062d5f3ae0.tar.gz
the-epube-5b9e0156f2d278592d7ade1aa7b5ac062d5f3ae0.tar.xz
also tabs to spaces in ts
Diffstat (limited to 'src')
-rw-r--r--src/index.d.ts18
-rw-r--r--src/reader.d.ts6
2 files changed, 12 insertions, 12 deletions
diff --git a/src/index.d.ts b/src/index.d.ts
index db286c7..d84c22a 100644
--- a/src/index.d.ts
+++ b/src/index.d.ts
@@ -1,13 +1,13 @@
 declare interface EpubeApp {
-	setPage(page: 'PAGE_LIBRARY' | 'PAGE_FAVORITES' | 'PAGE_READER' | 'PAGE_OFFLINE' | 'PAGE_LOGIN'): void;
-	setTitle(title: string): void;
-	showActionBar(visible: boolean): void;
-	toggleActionBar(): void;
-	isNightMode(): boolean;
-	isOnline(): boolean;
-	setStatusBarColor(r: number, g: number, b: number): void;
-	setAccentColor(r: number, g: number, b: number): void;
-	setOffline(offline: boolean): void;
+    setPage(page: 'PAGE_LIBRARY' | 'PAGE_FAVORITES' | 'PAGE_READER' | 'PAGE_OFFLINE' | 'PAGE_LOGIN'): void;
+    setTitle(title: string): void;
+    showActionBar(visible: boolean): void;
+    toggleActionBar(): void;
+    isNightMode(): boolean;
+    isOnline(): boolean;
+    setStatusBarColor(r: number, g: number, b: number): void;
+    setAccentColor(r: number, g: number, b: number): void;
+    setOffline(offline: boolean): void;
 }
 
 declare var EpubeApp: EpubeApp;
diff --git a/src/reader.d.ts b/src/reader.d.ts
index ecda2db..b798c4c 100644
--- a/src/reader.d.ts
+++ b/src/reader.d.ts
@@ -14,9 +14,9 @@ interface NetworkError extends Error {
 declare type SwipeState = {
    active: boolean,
    startX: number,
-	startY: number,
-	startTime: number,
-	direction: 'left'|'right'|null
+    startY: number,
+    startTime: number,
+    direction: 'left'|'right'|null
 }
 
 declare type SwipeConfig = {