From c4810cba6414a73b3ff0db8ec8a95285b5b69468 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 8 Jan 2025 09:27:30 -0600 Subject: [PATCH] Clarify docs Co-authored-by: Matthieu Sieben --- src/types/atproto/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types/atproto/index.ts b/src/types/atproto/index.ts index ee24ab1e3d..5792770a08 100644 --- a/src/types/atproto/index.ts +++ b/src/types/atproto/index.ts @@ -13,7 +13,8 @@ export * as starterPack from '#/types/atproto/starterPack' * ```ts * import * as atp from '#/types/atproto' * - * if (atp.dangerousIsType(node.post.record, AppBskyFeedPost.isRecord)) { + * if (atp.dangerousIsType(item, AppBskyFeedPost.isRecord)) { + * // `item` has type `$Typed` here * } * ``` */