Skip to content

Commit 6ec9e72

Browse files
authored
Merge pull request #47 from takker99/main
fix(twitter): `description` may be optional
2 parents d5b3e1f + edab44e commit 6ec9e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export interface ImportedData<hasMetadata extends true | false = false> {
301301
/** the response type of /api/embed-text/twitter */
302302
export interface TweetInfo {
303303
/** Tweet本文 */
304-
description: string;
304+
description?: string;
305305

306306
/** Tweet投稿者の表示名 */
307307
screenName: string;

0 commit comments

Comments
 (0)