@@ -87,7 +87,7 @@ namespace ts.codefix {
8787 createPropertyAccess ( createIdentifier ( className ) , tokenName ) ,
8888 createIdentifier ( "undefined" ) ) ) ;
8989
90- const staticInitializationChangeTracker = textChanges . ChangeTracker . fromCodeFixContext ( context ) ;
90+ const staticInitializationChangeTracker = textChanges . ChangeTracker . fromContext ( context ) ;
9191 staticInitializationChangeTracker . insertNodeAfter (
9292 classDeclarationSourceFile ,
9393 classDeclaration ,
@@ -111,7 +111,7 @@ namespace ts.codefix {
111111 createPropertyAccess ( createThis ( ) , tokenName ) ,
112112 createIdentifier ( "undefined" ) ) ) ;
113113
114- const propertyInitializationChangeTracker = textChanges . ChangeTracker . fromCodeFixContext ( context ) ;
114+ const propertyInitializationChangeTracker = textChanges . ChangeTracker . fromContext ( context ) ;
115115 propertyInitializationChangeTracker . insertNodeAt (
116116 classDeclarationSourceFile ,
117117 classConstructor . body . getEnd ( ) - 1 ,
@@ -153,7 +153,7 @@ namespace ts.codefix {
153153 /*questionToken*/ undefined ,
154154 typeNode ,
155155 /*initializer*/ undefined ) ;
156- const propertyChangeTracker = textChanges . ChangeTracker . fromCodeFixContext ( context ) ;
156+ const propertyChangeTracker = textChanges . ChangeTracker . fromContext ( context ) ;
157157 propertyChangeTracker . insertNodeAfter ( classDeclarationSourceFile , classOpenBrace , property , { suffix : context . newLineCharacter } ) ;
158158
159159 ( actions || ( actions = [ ] ) ) . push ( {
@@ -178,7 +178,7 @@ namespace ts.codefix {
178178 [ indexingParameter ] ,
179179 typeNode ) ;
180180
181- const indexSignatureChangeTracker = textChanges . ChangeTracker . fromCodeFixContext ( context ) ;
181+ const indexSignatureChangeTracker = textChanges . ChangeTracker . fromContext ( context ) ;
182182 indexSignatureChangeTracker . insertNodeAfter ( classDeclarationSourceFile , classOpenBrace , indexSignature , { suffix : context . newLineCharacter } ) ;
183183
184184 actions . push ( {
@@ -195,7 +195,7 @@ namespace ts.codefix {
195195 const callExpression = < CallExpression > token . parent . parent ;
196196 const methodDeclaration = createMethodFromCallExpression ( callExpression , tokenName , includeTypeScriptSyntax , makeStatic ) ;
197197
198- const methodDeclarationChangeTracker = textChanges . ChangeTracker . fromCodeFixContext ( context ) ;
198+ const methodDeclarationChangeTracker = textChanges . ChangeTracker . fromContext ( context ) ;
199199 methodDeclarationChangeTracker . insertNodeAfter ( classDeclarationSourceFile , classOpenBrace , methodDeclaration , { suffix : context . newLineCharacter } ) ;
200200 return {
201201 description : formatStringFromArgs ( getLocaleSpecificMessage ( makeStatic ?
0 commit comments