mirror of
https://github.com/github/codeql.git
synced 2026-05-15 03:39:32 +02:00
5 lines
165 B
TypeScript
5 lines
165 B
TypeScript
// GOOD: Using descriptive method names instead of 'function'
|
|
interface Calculator {
|
|
calculate(a: number, b: number): number; // Clear, descriptive method name
|
|
}
|