'10' // NG ^^^^ string. This type is incompatible with 4: let value2: number = '10' // NG ^^^^^^ number static-type-check.js:4 4: return number + 2; ^^^^^^ identifier `number`. Could not resolve name static-type-check.js:8 8: add('2'); // NG ^^^ string. This type is incompatible with the expected param type of 3: function add(value: number): number { ^^^^^^ number