Expected '}' in class?

Hi, how do I solve this?
What is the problem?

Add a "}"


This is probably telling you that you're missing a } somewhere. Probably have too many in a method definition or something.

1 Like

Hi Karl. :) Ok, thanks Karl. Nice crown, nice duck :)

1 Like

Something like thus

class Person {
let name: String
// other codes ....
} // this line might be missing

Thanks, is it ok to use ()?

Terms of Service

Privacy Policy

Cookie Policy