Skip to content

Commit 08224d1

Browse files
committed
Remove old CRA index.html and fix formatting
- Remove public/index.html (old CRA version, now using root index.html) - Fix prettier formatting in src/lz-string.d.ts Vite requires index.html at the project root, not in public/. The public/ folder is still used for static assets: - favicon.ico - logo192.png, logo512.png - manifest.json - robots.txt - favicon/ directory All Makefile commands verified to pass: - make lint ✓ - make ci (test-coverage + build + lint) ✓
1 parent 9fb109e commit 08224d1

File tree

2 files changed

+7
-47
lines changed

2 files changed

+7
-47
lines changed

public/index.html

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/lz-string.d.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
declare module 'lz-string' {
1+
declare module "lz-string" {
22
export function compress(input: string): string;
33
export function decompress(compressed: string): string | null;
44
export function compressToBase64(input: string): string;
55
export function decompressFromBase64(compressed: string): string | null;
66
export function compressToUTF16(input: string): string;
77
export function decompressFromUTF16(compressed: string): string | null;
88
export function compressToUint8Array(input: string): Uint8Array;
9-
export function decompressFromUint8Array(compressed: Uint8Array): string | null;
9+
export function decompressFromUint8Array(
10+
compressed: Uint8Array
11+
): string | null;
1012
export function compressToEncodedURIComponent(input: string): string;
11-
export function decompressFromEncodedURIComponent(compressed: string): string | null;
13+
export function decompressFromEncodedURIComponent(
14+
compressed: string
15+
): string | null;
1216
}

0 commit comments

Comments
 (0)