mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Change name from data to info
This commit is contained in:
1 parent
76bc9be701
commit
250bd0db4f
1 file changed
+2
-2
@@ -1349,9 +1349,9 @@ module ts {
|
||||
writer.writeSpace(" ");
|
||||
}
|
||||
|
||||
function getWriteResult<T, U>(data: T, enclosingDeclaration: Node, flags: U, buildDisplay: (data: T, writer: SymbolWriter, enclosingDeclaration?: Node, flags?: U) => void): string {
|
||||
function getWriteResult<T, U>(info: T, enclosingDeclaration: Node, flags: U, buildDisplay: (info: T, writer: SymbolWriter, enclosingDeclaration?: Node, flags?: U) => void): string {
|
||||
let writer = getSingleLineStringWriter();
|
||||
buildDisplay(data, writer, enclosingDeclaration, flags);
|
||||
buildDisplay(info, writer, enclosingDeclaration, flags);
|
||||
let result = writer.string();
|
||||
releaseStringWriter(writer);
|
||||
return result;
|
||||
|
||||
Reference in new issue
Block a user