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-success.injectable.ts
Iku-turso 98fe1a38bf feat: Introduce reusable script to build using webpack
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-03 09:31:24 +03:00

9 lines
228 B
TypeScript

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