commit
2e67984009
2
src/lib/es6.d.ts
vendored
2
src/lib/es6.d.ts
vendored
|
@ -819,7 +819,6 @@ interface MapConstructor {
|
|||
declare var Map: MapConstructor;
|
||||
|
||||
interface WeakMap<K, V> {
|
||||
clear(): void;
|
||||
delete(key: K): boolean;
|
||||
get(key: K): V;
|
||||
has(key: K): boolean;
|
||||
|
@ -859,7 +858,6 @@ declare var Set: SetConstructor;
|
|||
|
||||
interface WeakSet<T> {
|
||||
add(value: T): WeakSet<T>;
|
||||
clear(): void;
|
||||
delete(value: T): boolean;
|
||||
has(value: T): boolean;
|
||||
[Symbol.toStringTag]: "WeakSet";
|
||||
|
|
|
@ -7179,8 +7179,7 @@ namespace ts {
|
|||
|
||||
const indentationStr = sourceFile.text.substr(lineStart, posLineAndChar.character);
|
||||
|
||||
// TODO: call a helper method instead once PR #4133 gets merged in.
|
||||
const newLine = host.getNewLine ? host.getNewLine() : "\r\n";
|
||||
const newLine = getNewLineOrDefaultFromHost(host);
|
||||
|
||||
let docParams = "";
|
||||
for (let i = 0, numParams = parameters.length; i < numParams; i++) {
|
||||
|
|
Loading…
Reference in a new issue