1
0
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:
Florian Bouillon 2020-12-08 16:08:14 +01:00
parent 916406560b
commit 0cc320c0af
3 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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')
}