The following code: ```private class Foo<RootPa...
# javascript
c
The following code:
Copy code
private class Foo<RootParent, Value>(
	…
) : KProperty1<RootParent, Value>
does not compile, with:
Copy code
Implementing a function interface is prohibited in JavaScript.
I kinda understand why that would be an issue. But…
KProperty1
has implementations in the standard library elsewhere. How do they do it?
e
I don't think there are implementations in stdlib,
KProperty
instances are generated by the compiler (which is of course free to produce code that you cannot otherwise write)
2