DEV Community

Discussion on: Typescript Interface vs Class With Practical Examples

raj_sekhar profile image
Raj Sekhar Author

Actually I did not define any target in tsconfig and by default it compiled to ES5 probably.
Let me check this one again. Thanks for pointing out.

jfbrennan profile image
Jordan Brennan

Oh you're showing the compiled output. I thought that was an example of js src