melhoria de tipagem
This commit is contained in:
parent
25b760a2ff
commit
1ac82cb863
5 changed files with 24 additions and 21 deletions
5
dist/logger.d.ts
vendored
5
dist/logger.d.ts
vendored
|
|
@ -27,11 +27,12 @@ type tipoLog = {
|
|||
[k: string]: string;
|
||||
};
|
||||
};
|
||||
export declare const logger: ({ app: app_e, eProducao, parametros: parametrosAmbiente, }: {
|
||||
type tipoLogger = (amb: {
|
||||
app: string;
|
||||
eProducao: boolean;
|
||||
parametros?: {
|
||||
[k: string]: string;
|
||||
};
|
||||
}) => ({ inquilino, usuario, parametros: parametrosSessao }: tipoOpSessao) => (level: tipoLevel, mensagem: string, op_tipoLog?: tipoLog) => Promise<[objeto: tipoLokiObjeto, erro?: string]>;
|
||||
}) => (sess: tipoOpSessao) => (level: tipoLevel, mensagem: string, op_tipoLog?: tipoLog) => Promise<[objeto: tipoLokiObjeto, erro?: string]>;
|
||||
export declare const logger: tipoLogger;
|
||||
export {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue