mirror of
https://git.stamm.me/OpenServer/NodeLogging.git
synced 2024-12-22 19:29:22 +00:00
Fixing undefined type on default export
This commit is contained in:
parent
19097d2831
commit
51c519ce75
2
out/index.d.ts
vendored
2
out/index.d.ts
vendored
@ -70,7 +70,7 @@ export declare class LoggingBase {
|
||||
private writeToErrorFile;
|
||||
private initializeFile;
|
||||
}
|
||||
export declare let Logging: any;
|
||||
export declare let Logging: LoggingBase;
|
||||
export default Logging;
|
||||
export declare enum LoggingTypes {
|
||||
Log = 0,
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hibas123/nodelogging",
|
||||
"version": "1.3.13",
|
||||
"version": "1.3.14",
|
||||
"description": "",
|
||||
"main": "out/index.js",
|
||||
"types": "out/index.d.ts",
|
||||
|
@ -292,7 +292,7 @@ export class LoggingBase {
|
||||
}
|
||||
}
|
||||
|
||||
export let Logging = undefined;
|
||||
export let Logging: LoggingBase = undefined;
|
||||
if (process.env.LOGGING_NO_DEFAULT !== "true") {
|
||||
Logging = new LoggingBase();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user