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
@ppcano, would you consider declaring a module and defining custom types, instead of relying on @ts-ignore? Since TypeScript doesn't currently support these imports, I believe it would be beneficial to explicitly provide relevant types in order to fully leverage the benefits of a TypeScript-based implementation.
Do you mean declaring a module and defining custom types for jslib libraries?
https://github.com/grafana/jslib.k6.io/ is a set of pure Javascript utils for k6. They are built non-natively within the k6 version, so they are available from a remote url.
If you want to request TypeScript definitions for jslib modules, I suggest opening feature request to https://github.com/grafana/jslib.k6.io/ or the specific project.
It is not supported in TypeScript yet - Add support for URI style import.
You need to use
ts-ignore
to skip the compiler error.The text was updated successfully, but these errors were encountered: