mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
216 B
TypeScript
15 lines
216 B
TypeScript
function declaration(this: void, x: number) {}
|
|
|
|
var f = function(this: string, x: number) {}
|
|
|
|
declare function ambient(this: string, x: number);
|
|
|
|
class C {
|
|
member(this: C) {}
|
|
}
|
|
|
|
interface I {
|
|
method(this: I);
|
|
}
|
|
|