Skip to content

Commit d29e6d6

Browse files
authored
fix: use string as prop type in TS (vuejs#13)
1 parent 27a9dfa commit d29e6d6

File tree

18 files changed

+18
-18
lines changed

18 files changed

+18
-18
lines changed

playground/typescript-jsx-router-vuex-with-tests/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-jsx-router-vuex/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-jsx-router-with-tests/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-jsx-router/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-jsx-vuex-with-tests/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-jsx-vuex/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-jsx-with-tests/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-jsx/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-router-vuex-with-tests/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-router-vuex/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-router-with-tests/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-router/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-vuex-with-tests/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-vuex/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript-with-tests/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

playground/typescript/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

template/code/typescript-default/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

template/code/typescript-router/src/components/HelloWorld.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
defineProps<{
3-
msg: String
3+
msg: string
44
}>()
55
</script>
66

0 commit comments

Comments
 (0)