* Allow variable statements used as declaration sites to be marked visible and included in declaration emit by alias marking * Dont forget to transform statements * Accept baselines * Accept updated baselines for new test * Emit scope fix markers * Add partial private variable declaration emit test
20 lines
316 B
TypeScript
20 lines
316 B
TypeScript
// @declaration: true
|
|
// @lib: es6
|
|
// @filename: a.ts
|
|
export const x = Symbol();
|
|
|
|
// @filename: b.ts
|
|
import { x } from "./a";
|
|
|
|
export class C {
|
|
private [x]: number = 1;
|
|
}
|
|
|
|
// @filename: c.ts
|
|
import { x } from "./a";
|
|
import { C } from "./b";
|
|
|
|
export class D extends C {
|
|
private [x]: 12 = 12;
|
|
}
|