-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it easier to understand the type mapping between KT and JS #3801
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks about right
| `Any` | `Object` | | | ||
| `Throwable` | `Error` | | | ||
| Nullable `Type?` | `Type \| null \| undefined` | | | ||
| All other Kotlin types | Not supported | Includes Kotlin's collections (`List`, `Set`, `Map`, etc.), and unsigned variants. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except for those marked with JsExport
annotation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I apologize for the delayed response.
Thank you for your contribution to the Kotlin documentation!
@koshachy no problem, and thanks for fixing that small detail! |
@lppedd Thank you again! |
This reverts commit 99c013f.
This change replaces the bullet point list with a table, which is easier to follow and understand.