File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -3852,14 +3852,8 @@ export class LinkedEditingRanges {
3852
3852
export class PortAttributes {
3853
3853
private _autoForwardAction : PortAutoForwardAction ;
3854
3854
3855
- constructor ( autoForwardAction : PortAutoForwardAction ) ;
3856
- constructor ( port : number , autoForwardAction : PortAutoForwardAction ) ;
3857
- constructor ( portOrAction : number | PortAutoForwardAction , autoForwardAction ?: PortAutoForwardAction ) {
3858
- if ( typeof portOrAction === 'number' ) {
3859
- this . _autoForwardAction = autoForwardAction ! ;
3860
- } else {
3861
- this . _autoForwardAction = portOrAction ;
3862
- }
3855
+ constructor ( autoForwardAction : PortAutoForwardAction ) {
3856
+ this . _autoForwardAction = autoForwardAction ;
3863
3857
}
3864
3858
3865
3859
get autoForwardAction ( ) : PortAutoForwardAction {
Original file line number Diff line number Diff line change @@ -46,10 +46,6 @@ declare module 'vscode' {
46
46
*/
47
47
autoForwardAction : PortAutoForwardAction ;
48
48
49
- /**
50
- * @deprecated
51
- */
52
- constructor ( port : number , autoForwardAction : PortAutoForwardAction ) ;
53
49
/**
54
50
* Creates a new PortAttributes object
55
51
* @param port the port number
You can’t perform that action at this time.
0 commit comments