mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
25 lines
494 B
TypeScript
25 lines
494 B
TypeScript
import { Foo, Foo2, Foo3, Foo4 } from "./foo.interface";
|
|
|
|
export class FooImpl extends Foo {
|
|
fooMethod(x: string) {
|
|
sink(x); // $ hasValueFlow=x
|
|
}
|
|
}
|
|
|
|
export class Foo2Impl extends Foo2 {
|
|
fooMethod(x: string) {
|
|
sink(x); // $ hasValueFlow=x
|
|
}
|
|
}
|
|
|
|
export class Foo3Impl extends Foo3 {
|
|
fooMethod(x: string) {
|
|
sink(x); // $ hasValueFlow=x
|
|
}
|
|
}
|
|
|
|
export class Foo4Impl extends Foo4 {
|
|
fooMethod(x: string) {
|
|
sink(x); // $ hasValueFlow=x
|
|
}
|
|
} |