Skip to content

Commit 83ca248

Browse files
feat: TsContent type
1 parent a255a8d commit 83ca248

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/types.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@
33
* filenames
44
*/
55
export interface TsFile {
6-
source: {
7-
filename: string;
8-
content: string;
9-
};
10-
types: {
11-
filename: string;
12-
content: string;
13-
};
6+
source: TsContent;
7+
types: TsContent;
8+
}
9+
10+
/**
11+
* A simple filename with content.
12+
*/
13+
export interface TsContent {
14+
filename: string;
15+
content: string;
1416
}
1517

1618
/**

0 commit comments

Comments
 (0)