Skip to content

Commit ec533e1

Browse files
committed
👍 Extend the type definition of commits
1 parent e842d25 commit ec533e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export type Change =
119119
| DeleteCommit
120120
| LinksCommit
121121
| DescriptionsCommit
122+
| ImageCommit
122123
| TitleCommit;
123124
export interface InsertCommit {
124125
_insert: string;
@@ -143,6 +144,9 @@ export interface LinksCommit {
143144
export interface DescriptionsCommit {
144145
descriptions: string[];
145146
}
147+
export interface ImageCommit {
148+
image: string;
149+
}
146150
export interface TitleCommit {
147151
title: string;
148152
}

0 commit comments

Comments
 (0)