source:
trip-planner-front/node_modules/loglevel/test/type-test.ts@
6a80231
Last change on this file since 6a80231 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 234 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | import * as log from '..'; |
2 | ||
3 | log.setLevel('warn'); | |
4 | log.warn('Test warning'); | |
5 | ||
6 | // CoreJS defines a global `log` variable. We need to make sure that | |
7 | // that doesn't conflict with the loglevel typings: | |
8 | import * as _coreJS from 'core-js'; |
Note:
See TracBrowser
for help on using the repository browser.