Skip to content

Commit dda3514

Browse files
committed
Fix tick symbol in documentation
1 parent b10ba98 commit dda3514

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

index.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,12 @@ Replace Unicode symbols depending on the terminal.
256256
```
257257
import figures, {replaceSymbols} from 'figures';
258258
259-
console.log(replaceSymbols('✔ check'));
260-
// On terminals with Unicode symbols: ✔ check
259+
console.log(replaceSymbols('✔ check'));
260+
// On terminals with Unicode symbols: ✔ check
261261
// On other terminals: √ check
262262
263263
console.log(figures.tick);
264-
// On terminals with Unicode symbols: ✔
264+
// On terminals with Unicode symbols: ✔
265265
// On other terminals: √
266266
```
267267
*/

index.test-d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {expectType} from 'tsd';
22
import figures, {replaceSymbols, mainSymbols, fallbackSymbols} from './index.js';
33

4-
expectType<string>(replaceSymbols('✔ check'));
4+
expectType<string>(replaceSymbols('✔ check'));
55
expectType<string>(figures.tick);
66
expectType<string>(mainSymbols.tick);
77
expectType<string>(fallbackSymbols.tick);

readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ npm install figures
2020
import figures, {replaceSymbols, mainSymbols, fallbackSymbols} from 'figures';
2121

2222
console.log(figures.tick);
23-
// On terminals with Unicode symbols: ✔
23+
// On terminals with Unicode symbols: ✔
2424
// On other terminals: √
2525

2626
console.log(mainSymbols.tick);
27-
// On all terminals: ✔
27+
// On all terminals: ✔
2828

2929
console.log(fallbackSymbols.tick);
3030
// On all terminals: √
3131

32-
console.log(replaceSymbols(' check'));
33-
// On terminals with Unicode symbols: ✔ check
32+
console.log(replaceSymbols('✔ check'));
33+
// On terminals with Unicode symbols: ✔ check
3434
// On other terminals: √ check
3535
```
3636

0 commit comments

Comments
 (0)