Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit 1d5dfd0

Browse files
Remove reference to unsafeCast
1 parent 26a143a commit 1d5dfd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Building Web Applications with React and Kotlin JS/08_Using_an_External_REST_API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The typical way to do asynchronous programming in JavaScript is through the use
1313
```kotlin
1414
window.fetch("https://url...").then {
1515
it.json().then {
16-
it.unsafeCast<Video>()
16+
it as Video
1717
//...
1818
}
1919
}

0 commit comments

Comments
 (0)