Fix jsdoc return type

This commit is contained in:
RMidhunSuresh 2021-11-16 12:43:23 +05:30
parent e339e730f4
commit 34a8463bf9

View File

@ -50,9 +50,8 @@ export abstract class BaseLogger {
where the (async) result or errors are not propagated but still logged. where the (async) result or errors are not propagated but still logged.
Useful to pair with LogItem.refDetached. Useful to pair with LogItem.refDetached.
@return {LogItem} the log item added, useful to pass to LogItem.refDetached */ @return {ILogItem} the log item added, useful to pass to LogItem.refDetached */
runDetached(labelOrValues: LabelOrValues, callback: LogCallback<unknown>, logLevel?: LogLevel, filterCreator?: FilterCreator): ILogItem { runDetached(labelOrValues: LabelOrValues, callback: LogCallback<unknown>, logLevel?: LogLevel, filterCreator?: FilterCreator): ILogItem {
// todo: Remove jsdoc type?
if (!logLevel) { if (!logLevel) {
logLevel = LogLevel.Info; logLevel = LogLevel.Info;
} }