Skip to content

Commit 328d0f8

Browse files
committed
import ViewData from common... works!
1 parent 3572aae commit 328d0f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/courseware/src/typing/questions/falling-letters/TestComponent.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<div style="margin-top: 10px; font-size: 12px">
88
<strong>Imported types evidence:</strong><br />
99
testLetter: {{ testLetter }}<br />
10-
testPos: {{ testPos }}
10+
testPos: {{ testPos }}<br />
11+
testViewData: {{ testViewData }}
1112
</div>
1213
</div>
1314
</template>
@@ -22,8 +23,10 @@
2223
// Current working imports:
2324
import { ref } from 'vue';
2425
import { Letter, TreePosition } from './types';
26+
import { ViewData } from '@vue-skuilder/common';
2527
2628
const count = ref(0);
2729
const testLetter = { id: 1, char: 'A', x: 10, y: 20 } as Letter;
2830
const testPos = { id: 1, left: 0, height: 100, scale: 1 } as TreePosition;
31+
const testViewData = { testField: 'hello' } as ViewData;
2932
</script>

0 commit comments

Comments
 (0)