Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 9589a69

Browse files
committed
Clean up
1 parent 3a8c79c commit 9589a69

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

server/graph.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
import type { DependencyDescriptor } from "../compiler/types.ts";
2-
31
export type Module = {
42
readonly specifier: string;
53
readonly version: number;
6-
readonly deps?: readonly DependencyDescriptor[];
4+
readonly deps?: ReadonlyArray<DependencyDescriptor>;
75
readonly inlineCSS?: string;
86
};
97

8+
export type DependencyDescriptor = {
9+
readonly specifier: string;
10+
readonly dynamic?: boolean;
11+
};
12+
1013
export class DependencyGraph {
1114
#modules = new Map<string, Module>();
1215
#initialVersion = Date.now();

0 commit comments

Comments
 (0)