Skip to content

Commit 1bc5f03

Browse files
authored
fix: correct typing problems in sample vue app (#2021)
1 parent 21e4246 commit 1bc5f03

File tree

5 files changed

+10
-17
lines changed

5 files changed

+10
-17
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"nohoist": [
1818
"**/@microsoft/sp*",
1919
"**/@microsoft/eslint*",
20-
"**/@rushstack/*"
20+
"**/@rushstack/*",
21+
"**/@vue/*"
2122
]
2223
},
2324
"scripts": {

samples/vue-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@vue/cli-service": "^3.6.0",
1919
"sass": "^1.18.0",
2020
"sass-loader": "^7.1.0",
21-
"typescript": "^3.4.3",
21+
"typescript": "^4.9.5",
2222
"vue-template-compiler": "^2.5.21"
2323
},
2424
"overrides": {

samples/vue-app/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import App from './App.vue';
44
Vue.config.productionTip = false;
55

66
new Vue({
7-
render: h => h(App)
7+
render: (h) => h(App)
88
}).$mount('#app');

samples/vue-app/src/shims-tsx.d.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

yarn.lock

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29903,7 +29903,7 @@ typedarray@^0.0.6:
2990329903
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
2990429904
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==
2990529905

29906-
typescript@^3.4.3, typescript@^3.8.3:
29906+
typescript@^3.8.3:
2990729907
version "3.9.10"
2990829908
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8"
2990929909
integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==
@@ -29913,6 +29913,11 @@ typescript@^4.8.2:
2991329913
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.3.tgz#3aea307c1746b8c384435d8ac36b8a2e580d85db"
2991429914
integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==
2991529915

29916+
typescript@^4.9.5:
29917+
version "4.9.5"
29918+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
29919+
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
29920+
2991629921
typescript@~4.2.4:
2991729922
version "4.2.4"
2991829923
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961"

0 commit comments

Comments
 (0)