Skip to content

Commit 8dbda21

Browse files
leolorenzoluisalfonsogarciacaro
authored andcommitted
Fixing type errors
1 parent f8dfbe7 commit 8dbda21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/communicate/js-from-fable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ we could use the same method we used with `alert.js`:
188188
open Fable.Core.JsInterop // needed to call interop tools
189189
190190
type ICanvas =
191-
abstract drawSmiley: (id:string) -> unit
192-
abstract drawBubble: (id:string) -> unit
191+
abstract drawSmiley: string -> unit
192+
abstract drawBubble: string -> unit
193193
194194
[<ImportAll("path/to/Canvas.js")>]
195195
let mylib: ICanvas = jsNative

0 commit comments

Comments
 (0)