3766be1bde
* Added test. * Accepted baselines.
10 lines
192 B
TypeScript
10 lines
192 B
TypeScript
//// [indexedAccessToThisTypeOnIntersection01.ts]
|
|
interface A {
|
|
a: string;
|
|
getA: this['a'];
|
|
}
|
|
|
|
type T = (A & { a: number })['getA'];
|
|
|
|
//// [indexedAccessToThisTypeOnIntersection01.js]
|