4 ms·
I am new to Typescript, but I don't quite see why and how it hurts at the end. He defines two interfaces that are not implemented in any classes, so those inter
by kbumsik 9y ago
I am new to Typescript, but I don't quite see why and how it hurts at the end. He defines two interfaces that are not implemented in any classes, so those interfaces don't do anything to the actual program yet. I guess it is safe for Typescript to produce no code. Any specific scenario this will be problematic?
- slig 9y ago> I guess it is safe for Typescript to produce no code. TypeScript produces no code in that case because interfaces are a TypeScript feature and are only used to check your code before compiling it down to JavaScript.