Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
caseymorris61 authored Jul 8, 2024
1 parent 1a1a69d commit 2bc4cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const data = createMyCoolDataWrapper({
})
```
#### Public Class Methods
When used on top level class that have public methods, new `Wrapper` functions are created for use in JS as well. They vary slightly from top level functions with their use in JS.
When used on top level class that have public methods, new `<Class-Name>Wrapper` functions are created for use in JS as well. They vary slightly from top level functions with their use in JS.
```kotlin
@JsNamedArgs
@JsExport
Expand All @@ -122,7 +122,7 @@ const data = createMyCoolDataWrapper({
})

// Now use member wrapper with object, and then the function arguments
updateInfoWrapper(data, {
updateInfoMyCoolDataWrapper(data, {
id: 10,
name: "Erin Hannon"
})
Expand Down

0 comments on commit 2bc4cba

Please # to comment.