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
+6 -2
View File
@@ -37,7 +37,7 @@ export type SignalPayload<TMessage extends JsonObject = JsonObject> = {
export interface SignalService extends SignalsService {}
// @public @deprecated (undocumented)
export const signalService: ServiceRef<SignalsService, 'plugin', true>;
export const signalService: ServiceRef<SignalsService, 'plugin', 'singleton'>;
// @public (undocumented)
export interface SignalsService {
@@ -52,7 +52,11 @@ export type SignalsServiceOptions = {
};
// @public (undocumented)
export const signalsServiceRef: ServiceRef<SignalsService, 'plugin', true>;
export const signalsServiceRef: ServiceRef<
SignalsService,
'plugin',
'singleton'
>;
// (No @packageDocumentation comment for this package)
```