File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,16 @@ import { LogId } from "../common/logger.js";
8
8
9
9
type PayloadOf < K extends keyof SessionEvents > = SessionEvents [ K ] [ 0 ] ;
10
10
11
- export interface ResourceConfiguration {
11
+ export type ResourceConfiguration = {
12
12
name : string ;
13
13
uri : string ;
14
14
config : ResourceMetadata ;
15
- }
15
+ } ;
16
16
17
- export interface ReactiveResourceOptions < Value , RelevantEvents extends readonly ( keyof SessionEvents ) [ ] > {
17
+ export type ReactiveResourceOptions < Value , RelevantEvents extends readonly ( keyof SessionEvents ) [ ] > = {
18
18
initial : Value ;
19
19
events : RelevantEvents ;
20
- }
20
+ } ;
21
21
22
22
export abstract class ReactiveResource < Value , RelevantEvents extends readonly ( keyof SessionEvents ) [ ] > {
23
23
protected readonly session : Session ;
You can’t perform that action at this time.
0 commit comments