Skip to content

Commit ed82213

Browse files
committed
Fix signature of MIME in README
Relates to #293
1 parent 8db6f95 commit ed82213

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/README-STUB.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Other options are resolving library descriptor from a local file or from remote
210210
By default, the return values from REPL statements are displayed in the text form. To use richer representations, e.g.
211211
to display graphics or html, it is possible to send MIME-encoded result to the client using the `MIME` helper function:
212212
```kotlin
213-
fun MIME(vararg mimeToData: Pair<String, Any>): MimeTypedResult
213+
fun MIME(vararg mimeToData: Pair<String, String>): MimeTypedResult
214214
```
215215
E.g.:
216216
```kotlin

docs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ Other options are resolving library descriptor from a local file or from remote
244244
By default, the return values from REPL statements are displayed in the text form. To use richer representations, e.g.
245245
to display graphics or html, it is possible to send MIME-encoded result to the client using the `MIME` helper function:
246246
```kotlin
247-
fun MIME(vararg mimeToData: Pair<String, Any>): MimeTypedResult
247+
fun MIME(vararg mimeToData: Pair<String, String>): MimeTypedResult
248248
```
249249
E.g.:
250250
```kotlin

0 commit comments

Comments
 (0)