Skip to content

Commit 33a32aa

Browse files
committed
fix: make encodings import type only
1 parent 46b60de commit 33a32aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/interfaces.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { FileWithPath as FileWithPathFromSelector } from 'file-selector';
22
import { Validator } from './validators/validatorBase';
33
import { XOR } from 'ts-xor';
4-
import { ENCODINGS } from './helpers/encodings';
4+
import type { ENCODINGS } from './helpers/encodings';
55

66
export type FileWithPath = FileWithPathFromSelector;
77

@@ -96,7 +96,7 @@ type KnownEncoding = (typeof ENCODINGS)[number]['encodings'][number]['labels'][n
9696
*
9797
* The encoding standards are organized into the following categories:
9898
*
99-
* - **The Default Encoding**: UTF-8
99+
* - **The Default Encoding by W3C File API specification**: UTF-8
100100
* - **Legacy single-byte encodings**: IBM866, ISO-8859-2 through ISO-8859-16, KOI8-R, KOI8-U, macintosh, windows-874 through windows-1258, x-mac-cyrillic
101101
* - **Legacy multi-byte Chinese (simplified) encodings**: GBK, gb18030
102102
* - **Legacy multi-byte Chinese (traditional) encodings**: Big5

0 commit comments

Comments
 (0)