TypeScript Example

Hi all, here’s an example of a performance framework written in TypeScript:

I’m also learning, so please let me know if you notice anything that can be improved :slight_smile:

(I’d love to know how to transpile it down to a version of JS that can run with ‘base’ compatibility mode also! I’ve had no luck there…)


Good job!

I’ll have a look and might provide a PR in case I find something that could be of use for you. :+1:


Lately, we have fixed some issues on the k6 TypeScript definitions.

Inspired by @sstratton’s project. We have ended creating a GitHub Template to generate a k6 project using TypeScript easily.

We hope it can also be useful for the community.