Files
coder/scripts/apitypings/testdata/README.md
T
Steven Masley 369b5d1c2d chore: Add generics to typescript generator (#4664)
* feat: Support generating generics in interfaces
* Switch struct to a template
* Support generics in apitypings
2022-10-20 08:15:24 -05:00

6 lines
248 B
Markdown

# How to add a unit test
1. Create a new directory in `testdata`
2. Name a go file `<directory_name>.go`. This file will generate the typescript.
3. Name the expected typescript file `<directory_name>.ts`. This is the unit test's expected output.