mirror of
https://git.stamm.me/OpenServer/NodeLogging.git
synced 2024-11-15 02:41:04 +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 writeToErrorFile;
|
||||||
private initializeFile;
|
private initializeFile;
|
||||||
}
|
}
|
||||||
export declare let Logging: any;
|
export declare let Logging: LoggingBase;
|
||||||
export default Logging;
|
export default Logging;
|
||||||
export declare enum LoggingTypes {
|
export declare enum LoggingTypes {
|
||||||
Log = 0,
|
Log = 0,
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/nodelogging",
|
"name": "@hibas123/nodelogging",
|
||||||
"version": "1.3.13",
|
"version": "1.3.14",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "out/index.js",
|
"main": "out/index.js",
|
||||||
"types": "out/index.d.ts",
|
"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") {
|
if (process.env.LOGGING_NO_DEFAULT !== "true") {
|
||||||
Logging = new LoggingBase();
|
Logging = new LoggingBase();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user