mirror of
https://github.com/dzeiocom/libs.git
synced 2025-04-22 19:02:14 +00:00
Changed typing file from .ts to .d.ts
Signed-off-by: Florian Bouillon <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
916406560b
commit
0cc320c0af
@ -1,5 +1,5 @@
|
||||
import colors, { black, white, blue, yellow, green } from 'ansi-colors'
|
||||
import { theme, logType, ObjectArray } from './types'
|
||||
import { theme, logType, ObjectArray } from '../typing/types'
|
||||
|
||||
export default class Logger implements Console {
|
||||
|
||||
|
@ -6,9 +6,9 @@ import Logger from './Logger'
|
||||
* Init Logger in global context and add function to replace default console
|
||||
*/
|
||||
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
window.Logger = Logger
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
window.initConsole = function() {
|
||||
window.console = new Logger('Console')
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user