typescript_crash_course
typescript_crash_course copied to clipboard
A crash course on how to use TypeScript
I tried to output [this.comics](https://github.com/davidhu2000/typescript_crash_course/blob/b054da209a3667b823ccaa6404051aad23b64333/examples/class_example.ts#L37) to the console but it said `TypeError: this.comics is undefined` So, i defined it in the constructor. Is there some other way of doing it?...
since super.getProperties would return a string starting with "id is" already, it should be excluded from the descendent method's return template string. ``` class Base { public id: number; getProperties()...