source: trip-planner-front/node_modules/log-symbols/index.d.ts@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 588 bytes
Line 
1/**
2Colored symbols for various log levels.
3
4Includes fallbacks for Windows CMD which only supports a [limited character set](https://en.wikipedia.org/wiki/Code_page_437).
5
6@example
7```
8import logSymbols = require('log-symbols');
9
10console.log(logSymbols.success, 'Finished successfully!');
11// Terminals with Unicode support: ✔ Finished successfully!
12// Terminals without Unicode support: √ Finished successfully!
13```
14*/
15declare const logSymbols: {
16 readonly info: string;
17
18 readonly success: string;
19
20 readonly warning: string;
21
22 readonly error: string;
23};
24
25export = logSymbols;
Note: See TracBrowser for help on using the repository browser.