-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Description
TypeScript Version: 1.8.x
Code
export class CancellationTokenSource {
private _token: CancellationToken;
get token(): CancellationToken {
....
}
}The generated d.ts file looks like this:
export declare class CancellationTokenSource {
private _token;
token: CancellationToken;
}The d.ts file shouldn't list private _token;
Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug