tis-cli前端项目快速搭建命令行工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
585 B

4 years ago
  1. /**
  2. Colored symbols for various log levels.
  3. Includes fallbacks for Windows CMD which only supports a [limited character set](https://en.wikipedia.org/wiki/Code_page_437).
  4. @example
  5. ```
  6. import logSymbols from 'log-symbols';
  7. console.log(logSymbols.success, 'Finished successfully!');
  8. // Terminals with Unicode support: ✔ Finished successfully!
  9. // Terminals without Unicode support: √ Finished successfully!
  10. ```
  11. */
  12. declare const logSymbols: {
  13. readonly info: string;
  14. readonly success: string;
  15. readonly warning: string;
  16. readonly error: string;
  17. };
  18. export default logSymbols;