TypeScript-TmLanguage/tests/cases/Issue647.ts

7 строки
127 B
TypeScript

function doesSomething2(value: number) {
if (value as number < 10) {
return "huh"
} else {
return null;
}
}