File tree 2 files changed +1
-4
lines changed
2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -819,7 +819,6 @@ interface MapConstructor {
819
819
declare var Map : MapConstructor ;
820
820
821
821
interface WeakMap < K , V > {
822
- clear ( ) : void ;
823
822
delete ( key : K ) : boolean ;
824
823
get ( key : K ) : V ;
825
824
has ( key : K ) : boolean ;
@@ -859,7 +858,6 @@ declare var Set: SetConstructor;
859
858
860
859
interface WeakSet < T > {
861
860
add ( value : T ) : WeakSet < T > ;
862
- clear ( ) : void ;
863
861
delete ( value : T ) : boolean ;
864
862
has ( value : T ) : boolean ;
865
863
[ Symbol . toStringTag ] : "WeakSet" ;
Original file line number Diff line number Diff line change @@ -7179,8 +7179,7 @@ namespace ts {
7179
7179
7180
7180
const indentationStr = sourceFile . text . substr ( lineStart , posLineAndChar . character ) ;
7181
7181
7182
- // TODO: call a helper method instead once PR #4133 gets merged in.
7183
- const newLine = host . getNewLine ? host . getNewLine ( ) : "\r\n" ;
7182
+ const newLine = getNewLineOrDefaultFromHost ( host ) ;
7184
7183
7185
7184
let docParams = "" ;
7186
7185
for ( let i = 0 , numParams = parameters . length ; i < numParams ; i ++ ) {
You can’t perform that action at this time.
0 commit comments