Skip to content

Commit

Permalink
Use index type directly instead of Record for NamedCollections
Browse files Browse the repository at this point in the history
  • Loading branch information
bennostein committed Nov 13, 2024
1 parent 9ee2bf4 commit 7e80936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skipruntime-ts/api/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export interface ExternalService {
shutdown(): void;
}

export type NamedCollections = Record<string, EagerCollection<Json, Json>>;
export type NamedCollections = { [name: string]: EagerCollection<Json, Json> };

/**
* `Resource`s make up the public interface of a SkipService, specifying how to respond
Expand Down

0 comments on commit 7e80936

Please sign in to comment.