diff --git a/packages/pm/src/sidecar.ts b/packages/pm/src/sidecar.ts index a1a630afc..fe8b01bce 100644 --- a/packages/pm/src/sidecar.ts +++ b/packages/pm/src/sidecar.ts @@ -6,7 +6,7 @@ import pm from './container.js' let instance: Sidecar; -export default function (options?: { pm?: pm.container & Container } & (Omit | SideCarConnectionPreference | Omit & SideCarConnectionPreference), noCache?: boolean): Sidecar +export default function singleton(options?: { pm?: pm.container & Container, container?: Container } & (Omit | SideCarConnectionPreference | Omit & SideCarConnectionPreference), noCache?: boolean): Sidecar { return instance || (instance = sidecar(options, noCache)); }