Skip to content

Commit

Permalink
Add Knee slap and config typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmstuart committed Apr 26, 2024
1 parent 08e4e95 commit f99e3f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/data/config.typecheck.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import teamLindy from "./teamLindy.json";
import numbers from "./numbers.json";
import balboa from "./balboa.json";
import test from "./test.json";
import { Config } from "./config";

// Check that all config files have the expected type:
export const configs: Config[] = [teamLindy, numbers, balboa, test];
4 changes: 4 additions & 0 deletions src/data/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
"word": "Eagle slide",
"description": "[Solo dance step]"
},
{
"word": "Knee slap",
"description": "[Solo dance step]"
},
{
"word": "Texas Tommy",
"description": "[Partnered dance step] swingout where leader puts follower in an armlock and follower spins out of it."
Expand Down

0 comments on commit f99e3f7

Please sign in to comment.