File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -819,7 +819,6 @@ interface MapConstructor {
819819declare var Map : MapConstructor ;
820820
821821interface WeakMap < K , V > {
822- clear ( ) : void ;
823822 delete ( key : K ) : boolean ;
824823 get ( key : K ) : V ;
825824 has ( key : K ) : boolean ;
@@ -859,7 +858,6 @@ declare var Set: SetConstructor;
859858
860859interface WeakSet < T > {
861860 add ( value : T ) : WeakSet < T > ;
862- clear ( ) : void ;
863861 delete ( value : T ) : boolean ;
864862 has ( value : T ) : boolean ;
865863 [ Symbol . toStringTag ] : "WeakSet" ;
Original file line number Diff line number Diff line change @@ -7179,8 +7179,7 @@ namespace ts {
71797179
71807180 const indentationStr = sourceFile . text . substr ( lineStart , posLineAndChar . character ) ;
71817181
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 ) ;
71847183
71857184 let docParams = "" ;
71867185 for ( let i = 0 , numParams = parameters . length ; i < numParams ; i ++ ) {
You can’t perform that action at this time.
0 commit comments