Skip to content

Commit 691cee1

Browse files
🤖 dprint fmt
1 parent 5e16e2c commit 691cee1

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

types/uuid-encoder/index.d.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
export = UuidEncoder;
22
declare class UuidEncoder {
3-
private static resolveEncodingStr;
4-
static isCaseSensitiveBase(baseEncodingStr: string): boolean;
5-
constructor(baseEncodingStr?: string);
6-
setBaseEncodingStr(baseEncodingStr: string): void;
7-
encStr: string;
8-
isCaseSensitive: boolean;
9-
base: number;
10-
encode(uuid: string): string;
11-
decode(str: string): string;
12-
}
3+
private static resolveEncodingStr;
4+
static isCaseSensitiveBase(baseEncodingStr: string): boolean;
5+
constructor(baseEncodingStr?: string);
6+
setBaseEncodingStr(baseEncodingStr: string): void;
7+
encStr: string;
8+
isCaseSensitive: boolean;
9+
base: number;
10+
encode(uuid: string): string;
11+
decode(str: string): string;
12+
}
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import UuidEncoder from "uuid-encoder";
22

33
// $ExpectType UuidEncoder
4-
const encoder = new UuidEncoder('base36');
4+
const encoder = new UuidEncoder("base36");
55

66
// $ExpectType string
7-
const encodedUuid = encoder.encode('38b9823d-fa1a-48e7-91fc-ee16ad091cf2');
7+
const encodedUuid = encoder.encode("38b9823d-fa1a-48e7-91fc-ee16ad091cf2");
88

99
// $ExpectType string
1010
const decodedUuid = encoder.decode(encodedUuid);
11-
12-

0 commit comments

Comments
 (0)