Skip to content

Commit db2decd

Browse files
committed
Update baselines
1 parent c04133d commit db2decd

File tree

2,111 files changed

+15713
-24122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,111 files changed

+15713
-24122
lines changed

tests/baselines/reference/1.0lib-noErrors.js

Lines changed: 0 additions & 1163 deletions
This file was deleted.

tests/baselines/reference/1.0lib-noErrors.symbols

Lines changed: 0 additions & 2089 deletions
This file was deleted.

tests/baselines/reference/1.0lib-noErrors.types

Lines changed: 0 additions & 2450 deletions
This file was deleted.

tests/baselines/reference/api/typescript.d.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5927,14 +5927,7 @@ declare namespace ts {
59275927
libReferenceDirectives: readonly FileReference[];
59285928
languageVariant: LanguageVariant;
59295929
isDeclarationFile: boolean;
5930-
/**
5931-
* lib.d.ts should have a reference comment like
5932-
*
5933-
* /// <reference no-default-lib="true"/>
5934-
*
5935-
* If any other file has this comment, it signals not to include lib.d.ts
5936-
* because this containing file is intended to act as a default library.
5937-
*/
5930+
/** @deprecated Always false. Use a Program to determine if a file is a lib file. */
59385931
hasNoDefaultLib: boolean;
59395932
languageVersion: ScriptTarget;
59405933
/**
@@ -10043,6 +10036,7 @@ declare namespace ts {
1004310036
libReferenceDirectives: FileReference[];
1004410037
importedFiles: FileReference[];
1004510038
ambientExternalModules?: string[];
10039+
/** @deprecated Always false. Use a Program to determine if a file is a lib file. */
1004610040
isLibFile: boolean;
1004710041
}
1004810042
interface HostCancellationToken {

tests/baselines/reference/booleanLiteralsContextuallyTypedFromUnion.errors.txt

Lines changed: 0 additions & 31 deletions
This file was deleted.

tests/baselines/reference/booleanLiteralsContextuallyTypedFromUnion.symbols

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ type C = A | B;
1818

1919
const isIt = Math.random() > 0.5;
2020
>isIt : Symbol(isIt, Decl(booleanLiteralsContextuallyTypedFromUnion.tsx, 3, 5))
21-
>Math.random : Symbol(Math.random, Decl(lib.d.ts, --, --))
22-
>Math : Symbol(Math, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
23-
>random : Symbol(Math.random, Decl(lib.d.ts, --, --))
21+
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
22+
>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
23+
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
2424

2525
const c: C = isIt ? { isIt, text: 'hey' } : { isIt, value: 123 };
2626
>c : Symbol(c, Decl(booleanLiteralsContextuallyTypedFromUnion.tsx, 4, 5))

tests/baselines/reference/declarationEmitBundlePreservesHasNoDefaultLibDirective.js

Lines changed: 0 additions & 48 deletions
This file was deleted.

tests/baselines/reference/declarationEmitBundlePreservesHasNoDefaultLibDirective.symbols

Lines changed: 0 additions & 36 deletions
This file was deleted.

tests/baselines/reference/declarationEmitBundlePreservesHasNoDefaultLibDirective.types

Lines changed: 0 additions & 23 deletions
This file was deleted.

tests/baselines/reference/declarationEmitPreservesHasNoDefaultLibDirective.js

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)