mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Changed name from method to buildDisplay
This commit is contained in:
parent
e1f82c599b
commit
f8dc6bb310
@ -1359,9 +1359,9 @@ module ts {
|
||||
return result;
|
||||
}
|
||||
|
||||
function getWriteResult<T>(data: T, enclosingDeclaration: Node, flags: TypeFormatFlags, method: (data: T, writer: SymbolWriter, enclosingDeclaration?: Node, flags?: TypeFormatFlags) => void) {
|
||||
function getWriteResult<T>(data: T, enclosingDeclaration: Node, flags: TypeFormatFlags, buildDisplay: (data: T, writer: SymbolWriter, enclosingDeclaration?: Node, flags?: TypeFormatFlags) => void) {
|
||||
let writer = getSingleLineStringWriter();
|
||||
method(data, writer, enclosingDeclaration, flags);
|
||||
buildDisplay(data, writer, enclosingDeclaration, flags);
|
||||
let result = writer.string();
|
||||
releaseStringWriter(writer);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user