5d944ab6513b812694e7207051510af177a44924
typescript/Parameter 'x' implicitly has an 'any' type.Vetur(7006).md
... | ... | @@ -0,0 +1,11 @@ |
1 | +[【TypeScript】中括弧でバインドする際に、暗黙anyエラーになる時 | Awesome Blog](https://awesome-linus.com/2019/11/19/typescript-curly-bracket-type-any-error/) |
|
2 | + |
|
3 | +nuxtjsで、 |
|
4 | +```typescript |
|
5 | +async created() { |
|
6 | +const response = await this.$axios.get('/api') |
|
7 | +if (response) { |
|
8 | + this.all_counselors_name = response.data.map((x) => x.name) |
|
9 | +} |
|
10 | +}, |
|
11 | +``` |
|
... | ... | \ No newline at end of file |