a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(bluesky-richtext-builder): fix type errors

Mary 45dd5fb7 17fb61d7

+2 -2
+2 -2
packages/bluesky/richtext-builder/lib/index.ts
··· 112 112 * @param uri Valid URL, for example: https://example.com 113 113 * @returns The builder instance, for chaining 114 114 */ 115 - addLink(substr: string, uri: At.Uri): this { 115 + addLink(substr: string, uri: At.GenericUri): this { 116 116 return this.addDecoratedText(substr, { $type: 'app.bsky.richtext.facet#link', uri: uri }); 117 117 } 118 118 ··· 122 122 * @param did Valid DID, for example: did:plc:ia76kvnndjutgedggx2ibrem 123 123 * @returns The builder instance, for chaining 124 124 */ 125 - addMention(substr: string, did: At.DID): this { 125 + addMention(substr: string, did: At.Did): this { 126 126 return this.addDecoratedText(substr, { $type: 'app.bsky.richtext.facet#mention', did: did }); 127 127 } 128 128