TypeScript Version: 2.3.3
Code
In a JavaScript file, with checkJs option :
/**
* @interface Movable
*/
/**
* @function
* @name Movable#move
* @param {number} distance
*/
/**
* @implements {Movable}
*/
class Vehicle {}
Actual behavior:
No error.
Expected behavior:
An error should be raised. It's important in checkJs mode as JavaScript doesn't have native interfaces.
TypeScript Version: 2.3.3
Code
In a JavaScript file, with
checkJsoption :Actual behavior:
No error.
Expected behavior:
An error should be raised. It's important in
checkJsmode as JavaScript doesn't have native interfaces.