title: Property 'fullName' implicitly has type 'any', because its set accessor lacks a parameter type annotation
body: <p>I was following a course in JS. And he used the following code but when I added it its not working.
  It returns undefined. 
  The problem is at "set fullName"
  This is the error from VS code: </p>
  
  <blockquote>
    <p>"Property 'fullName' implicitly has type 'any', because its set
    accessor lacks a parameter type annotation"</p>
  </blockquote>
  
  <p>The console gives undefined.</p>
  
  <p>I googled it saw something with typescript version, but I am using the latest version that is provided with VSCODE the version of TypeScript is 3.9.0</p>
  
  <pre><code>class Person {
  constructor(firstname, lastName, age, likes = []) {
      this.firstName = firstname
      this.lastName = lastName
      this.age = age
      this.likes = likes
  }
  getBio() {
      let bio = `${this.firstName} is ${this.age}.`
  
      this.likes.forEach( (like) =&gt; {
          bio = bio + ` ${this.firstName} likes ${like}.`
      }) 
      return bio        
  }
  
  set fullName(fullName) {
      const names = fullName.split(' ')
      this.firstName = names[0]
      this.lastName = names[1]
  }
  </code></pre>
  
  <p>} </p>