top of page
Search

Property-does-not-exist-on-type-string

  • spelorascomva
  • Feb 2, 2022
  • 1 min read
You have declared data as string[] string array, but it should be of any type and you are accessing the property of that data as data.userName.












property-does-not-exist-on-type-string


Jun 23, 2021 — Property value does not exist on type EventTarget . TypeScript compiler error message. The first error occurs because the type of the target object .... You have to wrap your properties inside of object: function createCustomer(name​: string, id: number, age: number, city: string) { customer.push({ name, id, age, ... 939c2ea5af





 
 
 

Recent Posts

See All

Comments


bottom of page