1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/infrastructure/webpack/src/scripts/log-warning.injectable.ts
Sebastian Malton 4b63bc238e chore: Fix lens-webpack-build failing due to warnings
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-25 15:15:19 -04:00

9 lines
230 B
TypeScript

import { getInjectable } from "@ogre-tools/injectable";
export type LogWarning = typeof console.warn;
export const logWarningInjectable = getInjectable({
id: "log-warning",
instantiate: (di): LogWarning => console.warn,
});