What is the best way to avoid implicit casting from a number to an array?
@Component
export default class FeedbackMain extends Vue {
currentState : Number = 0;
mounted () {
this.currentState = "Hello" // Type '"Hello"' is not assignable to type 'Number'
this.currentState = data.filter(d => d.statetype === 0).map(d => d.state) // Not complaining
}