Re:Typescript: class vs. interface
by slig on Tuesday February 27, 2018 @01:58PM
(#16476661)
> 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.
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.