Skip to content

Commit 2bba7ee

Browse files
committed
Adds tests
1 parent 17cea8c commit 2bba7ee

6 files changed

+22
-22
lines changed

tests/baselines/reference/globalThisBlockscopedProperties.types

+1-1
Large diffs are not rendered by default.

tests/baselines/reference/intersectionsOfLargeUnions2.errors.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tests/cases/compiler/intersectionsOfLargeUnions2.ts(31,15): error TS2536: Type '
1010
interface ElementTagNameMap {
1111
~~~~~~~~~~~~~~~~~
1212
!!! error TS2300: Duplicate identifier 'ElementTagNameMap'.
13-
!!! related TS6203 /.ts/lib.dom.d.ts:18221:6: 'ElementTagNameMap' was also declared here.
13+
!!! related TS6203 /.ts/lib.dom.d.ts:18259:6: 'ElementTagNameMap' was also declared here.
1414
[index: number]: HTMLElement
1515
}
1616

tests/baselines/reference/mappedTypeRecursiveInference.errors.txt

+8-8
Large diffs are not rendered by default.

tests/baselines/reference/mappedTypeRecursiveInference.types

+10-10
Large diffs are not rendered by default.

tests/baselines/reference/truthinessCallExpressionCoercion2.types

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function test(required1: () => boolean, required2: () => boolean, b: boolean, op
129129
>f.apply : (this: Function, thisArg: any, argArray?: any) => any
130130
>f : () => void
131131
>apply : (this: Function, thisArg: any, argArray?: any) => any
132-
>parent : Window | null
132+
>parent : Window
133133
>[] : never[]
134134

135135
// error

tests/baselines/reference/webworkerIterable.types

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// This API is only in webworker
33
importScripts("")
44
>importScripts("") : void
5-
>importScripts : (...urls: string[]) => void
5+
>importScripts : (...urls: (string | URL)[]) => void
66
>"" : ""
77

88
// This should not raise a compiler error

0 commit comments

Comments
 (0)