mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Merge remote-tracking branch 'upstream/rc/1.20' into merge/rc/1.20
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class C {
|
||||
static get foo() {} // OK
|
||||
static set foo(v) {} // OK
|
||||
|
||||
get bar() {} // OK
|
||||
set bar(v) {} // OK
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import { Foo, Bar, Baz } from "somewhere"; // OK
|
||||
|
||||
export function f(this: Foo) {}
|
||||
|
||||
export class C {
|
||||
m(this: Bar) {}
|
||||
}
|
||||
|
||||
export default {
|
||||
foo(this: Baz) {}
|
||||
}
|
||||
Reference in New Issue
Block a user