diff --git a/src/data/config.typecheck.ts b/src/data/config.typecheck.ts new file mode 100644 index 0000000..5e0b723 --- /dev/null +++ b/src/data/config.typecheck.ts @@ -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]; diff --git a/src/data/test.json b/src/data/test.json index f0f3a30..6a3871f 100644 --- a/src/data/test.json +++ b/src/data/test.json @@ -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."