feat: generate typescript types from codersdk structs (#1047)

This commit is contained in:
Garrett Delfosse
2022-04-19 00:45:22 +00:00
committed by GitHub
parent 1df943e010
commit f46b4cf3da
5 changed files with 442 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@
"chromatic": "chromatic",
"dev": "webpack-dev-server --config=webpack.dev.ts",
"format:check": "prettier --check '**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
"format:types": "prettier --write 'src/api/types-generated.ts'",
"format:write": "prettier --write '**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
"lint": "jest --selectProjects lint",
"lint:fix": "FIX=true yarn lint",