mike.holler
05/06/2022, 4:55 PMhfhbd
05/06/2022, 5:00 PMmike.holler
05/06/2022, 5:03 PMmike.holler
05/06/2022, 5:06 PMhfhbd
05/06/2022, 5:07 PMmike.holler
05/06/2022, 5:07 PMhfhbd
05/06/2022, 5:09 PMkotlin.js
prefix from your d.ts filehfhbd
05/06/2022, 5:10 PMmike.holler
05/06/2022, 5:10 PMmike.holler
05/06/2022, 5:11 PMmike.holler
05/06/2022, 5:21 PMhfhbd
05/06/2022, 5:24 PMJsExport
is still experimentalmike.holler
05/06/2022, 5:25 PMExported declaration uses non-exportable return type: Promise<InitechCloudResponse<OrganizationAccount>>
Both OrganizationAccount
and InitechCloudResponse
are marked with @JSExport
mike.holler
05/06/2022, 5:26 PMpublic fun createAccount(
organizationIdOrAlias: String,
body: CreateOrganizationAccount
): Promise<InitechCloudResponse<OrganizationAccount>> {
return scope.promise {
initechCloudClientDelegate
.createAccount(organizationIdOrAlias, body)
}
}
Here is the function in questionhfhbd
05/06/2022, 5:30 PMmike.holler
05/06/2022, 5:31 PMmike.holler
05/06/2022, 5:31 PM@JsExport
on them but I'll try the other thing.