dukat
dukat copied to clipboard
Utility types from TS not bound correctly
When trying to create bindings for vue@next, bindings for some utility types from typescript are just bound to Any.
From lib.es5.d.ts
/**
* Construct a type with a set of properties K of type T
*/
type Record<K extends keyof any, T> = {
[P in K]: T;
};
Ends up being bound as:
typealias Record<K, T> = Any
Can you please provide a snippet of code what you'd rather expect to have as a result?
I'm quite new to Kotlin/JS, so I'm not sure how to bind this specific type. But I guess you want to pass a Map<String, Any>
type like structure here.