Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieusieben committed Feb 12, 2025
1 parent 58310cd commit 66bc1b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blog/2025-02-14-typescript-sdk-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ We have fixed these issues by making the `$type` property in the generated inter

```typescript
export interface Main {
$type?: $Type<'app.bsky.embed.video', 'main'>
$type?: 'app.bsky.embed.video'
video: BlobRef
captions?: Caption[]
alt?: string
Expand All @@ -152,7 +152,7 @@ Notice how the `$type` property is defined as optional (`?:`) here. This is due

```typescript
export interface Main {
$type?: $Type<'app.bsky.embed.recordWithMedia', 'main'>
$type?: 'app.bsky.embed.recordWithMedia'
record: AppBskyEmbedRecord.Main // Also used in post's `embed` property
media: /* omitted */
}
Expand Down

0 comments on commit 66bc1b5

Please sign in to comment.