Skip to content

Commit f725d7d

Browse files
committed
Rename function
1 parent f739f68 commit f725d7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/buildProtocol.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class DeclarationsWalker {
113113
}
114114
}
115115

116-
function generateProtocolFile(outputFile: string, protocolTs: string, typeScriptServicesDts: string) {
116+
function writeProtocolFile(outputFile: string, protocolTs: string, typeScriptServicesDts: string) {
117117
const options = { target: ts.ScriptTarget.ES5, declaration: true, noResolve: true, types: <string[]>[], stripInternal: true };
118118

119119
/**
@@ -184,4 +184,4 @@ if (process.argv.length < 5) {
184184
const protocolTs = process.argv[2];
185185
const typeScriptServicesDts = process.argv[3];
186186
const outputFile = process.argv[4];
187-
generateProtocolFile(outputFile, protocolTs, typeScriptServicesDts);
187+
writeProtocolFile(outputFile, protocolTs, typeScriptServicesDts);

0 commit comments

Comments
 (0)