k6-template-typescript icon indicating copy to clipboard operation
k6-template-typescript copied to clipboard

Add a simple example that shows how to leverage typescript in a test

Open simskij opened this issue 3 years ago • 0 comments

When we simplified this project from the previous (significantly more complete example) we, unfortunately, ended up with only two test files.

This means the repo no longer contains any example on how to define your own types and have typescripts compile-time type-checking prevent you from using types in a non-compatible way. This should be re-added, but as this is a template repo, it needs to be small, useful, and non-invasive. 🤔

simskij avatar Sep 06 '20 20:09 simskij