Nick
12/13/2023, 4:00 PMe: file:///Users/neddy/Development/Projects/doodle/Browser/src/jsMain/kotlin/io/nacular/doodle/HTMLElement.kt:116:27 Actual class 'Document' has no corresponding members for expected class members:
internal final expect fun createElement(localName: String, options: ElementCreationOptions /* = ElementCreationOptions */): Element /* = Element */
The following declaration is incompatible because actual function cannot have default argument values, they should be declared in the expected function:
public final fun createElement(localName: String, options: ElementCreationOptions = ...): Element
internal final expect fun createElementNS(namespace: String?, qualifiedName: String, options: ElementCreationOptions /* = ElementCreationOptions */): Element /* = Element */
The following declaration is incompatible because actual function cannot have default argument values, they should be declared in the expected function:
public final fun createElementNS(namespace: String?, qualifiedName: String, options: ElementCreationOptions = ...): Element
dmitriy.novozhilov
12/13/2023, 4:08 PM