spatial-k
spatial-k copied to clipboard
Add @JsExport to keep the compiler from changing names
trafficstars
I'm trying to create a JS library from my Shared Package that uses spatiak-k FeatureCollection but when looking at the generated type the names get lost and casted as any and when trying to reach them on runtime the names get changed.
export declare class Foo implements FooInterface {
constructor(httpClient?: any/* HttpClient */);
getDataAsync(): Promise<any/* FeatureCollection */>; // <--- It is just commented
}