The-TypeScript-Workshop
The-TypeScript-Workshop copied to clipboard
Error during compilation
Having a class Teacher without an attribute "token" outlines an error in the IDE when consoling out a teacher["token"].
The compilation is successful when the "token: any" attribute is added to the class.