Skip to content

Commit 53cd873

Browse files
committed
fix(projection): infer incoming event type for withNftMetadata
1 parent 716470a commit 53cd873

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/projection/src/operators/Mappers/withNftMetadata.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ const getNftMetadataFromCip25 = ({ mint }: WithMint, logger: Logger) =>
5454
});
5555

5656
export const withNftMetadata =
57-
({ logger }: WithLogger): ProjectionOperator<WithMint & WithUtxo & WithCIP67, WithNftMetadata> =>
57+
<PropsIn extends WithMint & WithUtxo & WithCIP67>({
58+
logger
59+
}: WithLogger): ProjectionOperator<PropsIn, WithNftMetadata> =>
5860
(evt$) =>
5961
evt$.pipe(
6062
map((evt) => {

0 commit comments

Comments
 (0)