typescript/Parameter 'x' implicitly has an 'any' type.Vetur(7006).md
... ...
@@ -3,10 +3,10 @@
3 3
nuxtjsで、
4 4
```typescript
5 5
async created() {
6
-const response = await this.$axios.get('/api')
7
-if (response) {
8
- this.all_name = response.data.map((x) => x.name)
9
-}
6
+ const response = await this.$axios.get('/api')
7
+ if (response) {
8
+ this.all_name = response.data.map((x) => x.name)
9
+ }
10 10
},
11 11
```
12 12
で`(x)`にこのエラーが出た。