aboutsummaryrefslogtreecommitdiff
path: root/src/debug/Test.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-04-20 03:29:35 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-04-20 03:29:35 -0400
commit1eb965a5d9c8aaebf1970bc645edecfb7017b601 (patch)
tree67f628de6459603f462b53cd59d78a548b5c59ae /src/debug/Test.tsx
parent4bf22b6095cee078403e4ac11743e7aaa557956c (diff)
Made the switch in a couple more classes
Diffstat (limited to 'src/debug/Test.tsx')
-rw-r--r--src/debug/Test.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug/Test.tsx b/src/debug/Test.tsx
index 8b9c9fa0b..81c69ca8e 100644
--- a/src/debug/Test.tsx
+++ b/src/debug/Test.tsx
@@ -16,8 +16,8 @@ const schema1 = createSchema({
testDoc: Doc
});
-const TestDoc = makeInterface(schema1);
-type TestDoc = makeInterface<typeof schema1>;
+const TestDoc = makeInterface([schema1]);
+type TestDoc = makeInterface<[typeof schema1]>;
const schema2 = createSchema({
hello: URLField,