mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
10 lines
257 B
TypeScript
10 lines
257 B
TypeScript
import { getInjectable } from "@ogre-tools/injectable";
|
|
import path from "path";
|
|
|
|
export type ResolvePath = typeof path.resolve;
|
|
|
|
export const resolvePathInjectable = getInjectable({
|
|
id: "resolve-path",
|
|
instantiate: (): ResolvePath => path.resolve,
|
|
});
|