refactor: use string types for service instance occurrences

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-07-12 11:22:31 +02:00
committed by Patrik Oldsberg
parent 11aaaa496a
commit 7c5f3b0297
38 changed files with 374 additions and 236 deletions
+2 -2
View File
@@ -66,12 +66,12 @@ export type EventsServiceEventHandler = (params: EventParams) => Promise<void>;
export const eventsServiceFactory: ServiceFactoryCompat<
EventsService,
'plugin',
true,
'singleton',
undefined
>;
// @public
export const eventsServiceRef: ServiceRef<EventsService, 'plugin', true>;
export const eventsServiceRef: ServiceRef<EventsService, 'plugin', 'singleton'>;
// @public (undocumented)
export type EventsServiceSubscribeOptions = {