mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-13 09:46:20 +00:00
13 lines
291 B
TypeScript
13 lines
291 B
TypeScript
/**
|
|
* Simple TS source file to get linted
|
|
* Can be used to verify new/changed rule behavior
|
|
*/
|
|
function addNumbers(a: number, b: number) {
|
|
return a + b;
|
|
}
|
|
|
|
const sum: number = addNumbers(10, 15);
|
|
|
|
// eslint-disable-next-line no-console
|
|
console.log('Sum of the two numbers is: ' + sum);
|