mirror of
https://github.com/github/codeql.git
synced 2026-04-16 12:34:02 +02:00
5 lines
165 B
TypeScript
5 lines
165 B
TypeScript
// BAD: Using 'function' as a method name is confusing
|
|
interface Calculator {
|
|
function(a: number, b: number): number; // This is just a method named "function"
|
|
}
|