mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 12:32:08 -06:00
Use built local on CI and not LKG (#29886)
* Use built local on CI and not LKG * Adjust function to remove need for assertions * Accept baseline diff to go back to local based baseline * Remove comment
This commit is contained in:
parent
75101d4b72
commit
6d2b738bd8
@ -24,7 +24,7 @@ const host = process.env.TYPESCRIPT_HOST || process.env.host || "node";
|
||||
|
||||
const defaultTestTimeout = 40000;
|
||||
const useBuilt =
|
||||
process.env.USE_BUILT === "true" ? true :
|
||||
(process.env.USE_BUILT === "true" || process.env.CI === "true") ? true :
|
||||
process.env.LKG === "true" ? false :
|
||||
false;
|
||||
|
||||
|
||||
@ -1396,9 +1396,10 @@ namespace ts {
|
||||
|
||||
export function assign<T extends object>(t: T, ...args: (T | undefined)[]) {
|
||||
for (const arg of args) {
|
||||
for (const p in arg!) {
|
||||
if (hasProperty(arg!, p)) {
|
||||
t![p] = arg![p]; // TODO: GH#23368
|
||||
if (arg === undefined) continue;
|
||||
for (const p in arg) {
|
||||
if (hasProperty(arg, p)) {
|
||||
t[p] = arg[p];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -8347,7 +8347,7 @@ declare namespace ts.server {
|
||||
excludedFiles: ReadonlyArray<NormalizedPath>;
|
||||
private typeAcquisition;
|
||||
updateGraph(): boolean;
|
||||
getExcludedFiles(): ReadonlyArray<NormalizedPath>;
|
||||
getExcludedFiles(): readonly NormalizedPath[];
|
||||
getTypeAcquisition(): TypeAcquisition;
|
||||
setTypeAcquisition(newTypeAcquisition: TypeAcquisition): void;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user