From e140133c5af3fa9e5d1a6b6ecec9cf748e19ce78 Mon Sep 17 00:00:00 2001 From: Malcolm Hall Date: Sun, 29 Jan 2023 21:00:15 +0000 Subject: [PATCH] Update README.md The type `AnyAsyncSequenceable` isn't mentioned in the readme, which is needed when declaring a class or struct property. I had to dig through the tests to find it so thought it would be useful for others if it was added to the readme where `eraseToAnyAsyncSequenceable` is used. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 160a1af..314d2dc 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ sequence.sink( ### [AnyAsyncSequenceable](https://swiftpackageindex.com/reddavis/asynchrone/main/documentation/asynchrone/anyasyncsequenceable) ```swift -let sequence = Just(1) +let sequence: AnyAsyncSequenceable = Just(1) .map(String.init) .eraseToAnyAsyncSequenceable() ```