You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree that this would be helpful, but I don't use TypeScript for k6 scripts, and currently don't have the bandwidth to look into this. If someone else can contribute it, we'd be happy to merge it.
Unfortunately, after internal discussion, the team has decided to not support type definitions for k6 extensions, including xk6-sql. This means that we can't accept a PR that adds the definitions to the @types/k6 package, since it would add a maintenance burden we currently don't have the capacity for.
We're terribly sorry for the inconvenience and miscommunication. We encourage you to either create a secondary package in the DefinitelyTyped repo which you or someone else would maintain, or to add the definitions to a fork of this repo, and import them directly from there.
When, and if, this extension becomes part of the k6 repository, then we would consider adding the definitions to @types/k6, but not before. Thanks for understanding, and sorry again.
TypeScript type definitions are lovely for learning a new library. I'd love to benefit from these here.
The text was updated successfully, but these errors were encountered: