Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to configure the karakum to resolve issue with unknown instance #35

Open
yogeshVU opened this issue Nov 15, 2024 · 1 comment
Open

Comments

@yogeshVU
Copy link

when trying to leverage the tool, and configure the karakum.config.json, one get's following output which says instance not found error
here is the config json:

{
  "input": "node_modules/webgme/typings/webgme.d.ts",
  "output": "generated",
  "libraryName": "webgme",
  "granularity": "file",
  "moduleNameMapper": {
    ".*": "webgme"
  },
  "namespaceStrategy": {
    "webgme": "ignore",
    ".*": "ignore"
  }
}

Unresolved instance code snippet:

external interface UserProject : GmeClasses.ProjectInterface {
    var projectName: String
    var projectId: String

    // Can be used to switch user
    fun setUser(username: String): Unit
}

original typescript code

image

@yogeshVU
Copy link
Author

Any inputs on how to configure this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant