Skip to content

Commit

Permalink
Update baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
sandersn committed Oct 25, 2022
1 parent b60b9a0 commit a510b38
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion tests/baselines/reference/baseCheck.errors.txt
Expand Up @@ -21,7 +21,7 @@ tests/cases/compiler/baseCheck.ts(26,9): error TS2304: Cannot find name 'x'.
super(0, loc);
~~~
!!! error TS2552: Cannot find name 'loc'. Did you mean 'Lock'?
!!! related TS2728 /.ts/lib.dom.d.ts:9241:13: 'Lock' is declared here.
!!! related TS2728 /.ts/lib.dom.d.ts:9275:13: 'Lock' is declared here.
}

m() {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/extendArray.errors.txt
Expand Up @@ -12,10 +12,10 @@ tests/cases/compiler/extendArray.ts(7,32): error TS2552: Cannot find name '_elem
collect(fn:(e:_element) => _element[]) : any[];
~~~~~~~~
!!! error TS2552: Cannot find name '_element'. Did you mean 'Element'?
!!! related TS2728 /.ts/lib.dom.d.ts:5089:13: 'Element' is declared here.
!!! related TS2728 /.ts/lib.dom.d.ts:5121:13: 'Element' is declared here.
~~~~~~~~
!!! error TS2552: Cannot find name '_element'. Did you mean 'Element'?
!!! related TS2728 /.ts/lib.dom.d.ts:5089:13: 'Element' is declared here.
!!! related TS2728 /.ts/lib.dom.d.ts:5121:13: 'Element' is declared here.
}
}

Expand Down

Large diffs are not rendered by default.

Expand Up @@ -10,7 +10,7 @@ tests/cases/compiler/intersectionsOfLargeUnions2.ts(31,15): error TS2536: Type '
interface ElementTagNameMap {
~~~~~~~~~~~~~~~~~
!!! error TS2300: Duplicate identifier 'ElementTagNameMap'.
!!! related TS6203 /.ts/lib.dom.d.ts:17748:6: 'ElementTagNameMap' was also declared here.
!!! related TS6203 /.ts/lib.dom.d.ts:17843:6: 'ElementTagNameMap' was also declared here.
[index: number]: HTMLElement
}

Expand Down
Expand Up @@ -13,7 +13,7 @@ tests/cases/compiler/test.tsx(9,17): error TS2552: Cannot find name 'createEleme
return <div />;
~~~
!!! error TS2552: Cannot find name 'createElement'. Did you mean 'frameElement'?
!!! related TS2728 /.ts/lib.dom.d.ts:17771:13: 'frameElement' is declared here.
!!! related TS2728 /.ts/lib.dom.d.ts:17866:13: 'frameElement' is declared here.
}
}

Expand Up @@ -13,6 +13,6 @@ tests/cases/compiler/test.tsx(9,17): error TS2552: Cannot find name 'MyElement'.
return <div />;
~~~
!!! error TS2552: Cannot find name 'MyElement'. Did you mean 'Element'?
!!! related TS2728 /.ts/lib.dom.d.ts:5089:13: 'Element' is declared here.
!!! related TS2728 /.ts/lib.dom.d.ts:5121:13: 'Element' is declared here.
}
}
8 changes: 4 additions & 4 deletions tests/baselines/reference/mappedTypeRecursiveInference.types

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/baselines/reference/parserRealSource7.errors.txt
Expand Up @@ -352,7 +352,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource7.ts(828,13): error T
!!! error TS2304: Cannot find name 'Type'.
~~~~~~~~~~~~~~~
!!! error TS2552: Cannot find name 'TypeDeclaration'. Did you mean 'CSSStyleDeclaration'?
!!! related TS2728 /.ts/lib.dom.d.ts:3382:13: 'CSSStyleDeclaration' is declared here.
!!! related TS2728 /.ts/lib.dom.d.ts:3402:13: 'CSSStyleDeclaration' is declared here.
type.extendsTypeLinks = getBaseTypeLinks(typeDecl.extendsList, type.extendsTypeLinks);
type.implementsTypeLinks = getBaseTypeLinks(typeDecl.implementsList, type.implementsTypeLinks);
}
Expand Down

0 comments on commit a510b38

Please sign in to comment.