Skip to content

Commit ca31a4b

Browse files
committed
Update baselines for corrected line endings in lib files
The old gulpfile produced lib.d.ts files with mixed newlines, thanks to the files containing CRLF, but the gulp streams adding in LF. Now they're all LF, which matches every other file in built / lib, but our baselines are sensitive to this. Rerun the tests and accept them.
1 parent 5d97edb commit ca31a4b

7 files changed

+410
-410
lines changed

tests/baselines/reference/completionEntryForUnionMethod.baseline

+15-15
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@
476476
],
477477
"documentation": [
478478
{
479-
"text": "Combines two or more arrays.\r\nThis method returns a new array without modifying any existing arrays.",
479+
"text": "Combines two or more arrays.\nThis method returns a new array without modifying any existing arrays.",
480480
"kind": "text"
481481
}
482482
],
@@ -1047,7 +1047,7 @@
10471047
"kind": "space"
10481048
},
10491049
{
1050-
"text": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
1050+
"text": "A function that accepts up to three arguments. The every method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value false, or until the end of the array.",
10511051
"kind": "text"
10521052
}
10531053
]
@@ -1064,7 +1064,7 @@
10641064
"kind": "space"
10651065
},
10661066
{
1067-
"text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
1067+
"text": "An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",
10681068
"kind": "text"
10691069
}
10701070
]
@@ -1081,7 +1081,7 @@
10811081
"kind": "space"
10821082
},
10831083
{
1084-
"text": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
1084+
"text": "A function that accepts up to three arguments. The every method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value false, or until the end of the array.",
10851085
"kind": "text"
10861086
}
10871087
]
@@ -1098,7 +1098,7 @@
10981098
"kind": "space"
10991099
},
11001100
{
1101-
"text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
1101+
"text": "An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",
11021102
"kind": "text"
11031103
}
11041104
]
@@ -3001,7 +3001,7 @@
30013001
],
30023002
"documentation": [
30033003
{
3004-
"text": "Removes the last element from an array and returns it.\r\nIf the array is empty, undefined is returned and the array is not modified.",
3004+
"text": "Removes the last element from an array and returns it.\nIf the array is empty, undefined is returned and the array is not modified.",
30053005
"kind": "text"
30063006
}
30073007
]
@@ -4696,7 +4696,7 @@
46964696
],
46974697
"documentation": [
46984698
{
4699-
"text": "Reverses the elements in an array in place.\r\nThis method mutates the array and returns a reference to the same array.",
4699+
"text": "Reverses the elements in an array in place.\nThis method mutates the array and returns a reference to the same array.",
47004700
"kind": "text"
47014701
}
47024702
]
@@ -4786,7 +4786,7 @@
47864786
],
47874787
"documentation": [
47884788
{
4789-
"text": "Removes the first element from an array and returns it.\r\nIf the array is empty, undefined is returned and the array is not modified.",
4789+
"text": "Removes the first element from an array and returns it.\nIf the array is empty, undefined is returned and the array is not modified.",
47904790
"kind": "text"
47914791
}
47924792
]
@@ -4940,7 +4940,7 @@
49404940
],
49414941
"documentation": [
49424942
{
4943-
"text": "Returns a copy of a section of an array.\r\nFor both start and end, a negative index can be used to indicate an offset from the end of the array.\r\nFor example, -2 refers to the second to last element of the array.",
4943+
"text": "Returns a copy of a section of an array.\nFor both start and end, a negative index can be used to indicate an offset from the end of the array.\nFor example, -2 refers to the second to last element of the array.",
49444944
"kind": "text"
49454945
}
49464946
],
@@ -4957,7 +4957,7 @@
49574957
"kind": "space"
49584958
},
49594959
{
4960-
"text": "The beginning index of the specified portion of the array.\r\nIf start is undefined, then the slice begins at index 0.",
4960+
"text": "The beginning index of the specified portion of the array.\nIf start is undefined, then the slice begins at index 0.",
49614961
"kind": "text"
49624962
}
49634963
]
@@ -4974,7 +4974,7 @@
49744974
"kind": "space"
49754975
},
49764976
{
4977-
"text": "The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\r\nIf end is undefined, then the slice extends to the end of the array.",
4977+
"text": "The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\nIf end is undefined, then the slice extends to the end of the array.",
49784978
"kind": "text"
49794979
}
49804980
]
@@ -5323,7 +5323,7 @@
53235323
"kind": "space"
53245324
},
53255325
{
5326-
"text": "A function that accepts up to three arguments. The some method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value true, or until the end of the array.",
5326+
"text": "A function that accepts up to three arguments. The some method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value true, or until the end of the array.",
53275327
"kind": "text"
53285328
}
53295329
]
@@ -5340,7 +5340,7 @@
53405340
"kind": "space"
53415341
},
53425342
{
5343-
"text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
5343+
"text": "An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",
53445344
"kind": "text"
53455345
}
53465346
]
@@ -5616,7 +5616,7 @@
56165616
],
56175617
"documentation": [
56185618
{
5619-
"text": "Sorts an array in place.\r\nThis method mutates the array and returns a reference to the same array.",
5619+
"text": "Sorts an array in place.\nThis method mutates the array and returns a reference to the same array.",
56205620
"kind": "text"
56215621
}
56225622
],
@@ -5633,7 +5633,7 @@
56335633
"kind": "space"
56345634
},
56355635
{
5636-
"text": "Function used to determine the order of the elements. It is expected to return\r\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\r\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\r\n```ts\r\n[11,2,22,1].sort((a, b) => a - b)\r\n```",
5636+
"text": "Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11,2,22,1].sort((a, b) => a - b)\n```",
56375637
"kind": "text"
56385638
}
56395639
]

tests/baselines/reference/completionsCommentsClass.baseline

+11-11
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@
731731
],
732732
"documentation": [
733733
{
734-
"text": "Represents a raw buffer of binary data, which is used to store data for the\r\ndifferent typed arrays. ArrayBuffers cannot be read from or written to directly,\r\nbut can be passed to a typed array or DataView Object to interpret the raw\r\nbuffer as needed.",
734+
"text": "Represents a raw buffer of binary data, which is used to store data for the\ndifferent typed arrays. ArrayBuffers cannot be read from or written to directly,\nbut can be passed to a typed array or DataView Object to interpret the raw\nbuffer as needed.",
735735
"kind": "text"
736736
}
737737
]
@@ -1748,7 +1748,7 @@
17481748
],
17491749
"documentation": [
17501750
{
1751-
"text": "A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\r\nof bytes could not be allocated an exception is raised.",
1751+
"text": "A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\nof bytes could not be allocated an exception is raised.",
17521752
"kind": "text"
17531753
}
17541754
]
@@ -1802,7 +1802,7 @@
18021802
],
18031803
"documentation": [
18041804
{
1805-
"text": "A typed array of 64-bit float values. The contents are initialized to 0. If the requested\r\nnumber of bytes could not be allocated an exception is raised.",
1805+
"text": "A typed array of 64-bit float values. The contents are initialized to 0. If the requested\nnumber of bytes could not be allocated an exception is raised.",
18061806
"kind": "text"
18071807
}
18081808
]
@@ -2060,7 +2060,7 @@
20602060
],
20612061
"documentation": [
20622062
{
2063-
"text": "A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
2063+
"text": "A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
20642064
"kind": "text"
20652065
}
20662066
]
@@ -2114,7 +2114,7 @@
21142114
],
21152115
"documentation": [
21162116
{
2117-
"text": "A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
2117+
"text": "A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
21182118
"kind": "text"
21192119
}
21202120
]
@@ -2168,7 +2168,7 @@
21682168
],
21692169
"documentation": [
21702170
{
2171-
"text": "A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\r\nnumber of bytes could not be allocated an exception is raised.",
2171+
"text": "A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\nnumber of bytes could not be allocated an exception is raised.",
21722172
"kind": "text"
21732173
}
21742174
]
@@ -2937,7 +2937,7 @@
29372937
"kind": "space"
29382938
},
29392939
{
2940-
"text": "A value between 2 and 36 that specifies the base of the number in `string`.\r\nIf this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.\r\nAll other strings are considered decimal.",
2940+
"text": "A value between 2 and 36 that specifies the base of the number in `string`.\nIf this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.\nAll other strings are considered decimal.",
29412941
"kind": "text"
29422942
}
29432943
]
@@ -3448,7 +3448,7 @@
34483448
],
34493449
"documentation": [
34503450
{
3451-
"text": "A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
3451+
"text": "A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
34523452
"kind": "text"
34533453
}
34543454
]
@@ -3502,7 +3502,7 @@
35023502
],
35033503
"documentation": [
35043504
{
3505-
"text": "A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
3505+
"text": "A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
35063506
"kind": "text"
35073507
}
35083508
]
@@ -3556,7 +3556,7 @@
35563556
],
35573557
"documentation": [
35583558
{
3559-
"text": "A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
3559+
"text": "A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
35603560
"kind": "text"
35613561
}
35623562
]
@@ -3610,7 +3610,7 @@
36103610
],
36113611
"documentation": [
36123612
{
3613-
"text": "A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\r\nIf the requested number of bytes could not be allocated an exception is raised.",
3613+
"text": "A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\nIf the requested number of bytes could not be allocated an exception is raised.",
36143614
"kind": "text"
36153615
}
36163616
]

0 commit comments

Comments
 (0)