File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/firestore/scripts Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ function convertPropertiesForEnclosingClass(
250
250
sourceFile : ts . SourceFile ,
251
251
parentClassSymbols : ts . Symbol [ ] ,
252
252
currentClass : ts . ClassDeclaration | ts . InterfaceDeclaration
253
- ) : Array < ts . NamedDeclaration > {
253
+ ) : ts . NamedDeclaration [ ] {
254
254
const newMembers : ts . NamedDeclaration [ ] = [ ] ;
255
255
// The `codefix` package is not public but it does exactly what we want. We
256
256
// can explore adding a slimmed down version of this package to our repository
@@ -329,11 +329,11 @@ function extractPublicSymbol(
329
329
return publicSymbolsForLocalType [ 0 ] ;
330
330
}
331
331
332
- const dropPrivateApiTransformer = (
332
+ function dropPrivateApiTransformer (
333
333
program : ts . Program ,
334
334
host : ts . CompilerHost ,
335
335
context : ts . TransformationContext
336
- ) = > {
336
+ ) : ts . Transformer < ts . SourceFile > {
337
337
const typeChecker = program . getTypeChecker ( ) ;
338
338
339
339
return ( sourceFile : ts . SourceFile ) => {
@@ -402,7 +402,7 @@ const dropPrivateApiTransformer = (
402
402
}
403
403
return visitNodeAndChildren ( sourceFile ) ;
404
404
} ;
405
- } ;
405
+ }
406
406
407
407
const argv = yargs . options ( {
408
408
input : {
You can’t perform that action at this time.
0 commit comments