Skip to content

Commit ad0a847

Browse files
committed
Accept new baselines
1 parent 398533b commit ad0a847

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

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

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7240,19 +7240,20 @@ declare namespace ts {
72407240
Tuple = 8,
72417241
Anonymous = 16,
72427242
Mapped = 32,
7243-
Instantiated = 64,
7244-
ObjectLiteral = 128,
7245-
EvolvingArray = 256,
7246-
ObjectLiteralPatternWithComputedProperties = 512,
7247-
ReverseMapped = 1024,
7248-
JsxAttributes = 2048,
7249-
JSLiteral = 4096,
7250-
FreshLiteral = 8192,
7251-
ArrayLiteral = 16384,
7243+
TypeAliasInstantiation = 64,
7244+
Instantiated = 128,
7245+
ObjectLiteral = 256,
7246+
EvolvingArray = 512,
7247+
ObjectLiteralPatternWithComputedProperties = 1024,
7248+
ReverseMapped = 2048,
7249+
JsxAttributes = 4096,
7250+
JSLiteral = 8192,
7251+
FreshLiteral = 16384,
7252+
ArrayLiteral = 32768,
72527253
ClassOrInterface = 3,
7253-
ContainsSpread = 2097152,
7254-
ObjectRestType = 4194304,
7255-
InstantiationExpressionType = 8388608,
7254+
ContainsSpread = 4194304,
7255+
ObjectRestType = 8388608,
7256+
InstantiationExpressionType = 16777216,
72567257
}
72577258
interface ObjectType extends Type {
72587259
objectFlags: ObjectFlags;

tests/baselines/reference/circularlySimplifyingConditionalTypesNoCrash.types

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ declare var connect: Connect;
5656

5757
const myStoreConnect: Connect = function(
5858
>myStoreConnect : Connect
59-
>function( mapStateToProps?: any, mapDispatchToProps?: any, mergeProps?: any, options: unknown = {},) { return connect( mapStateToProps, mapDispatchToProps, mergeProps, options, );} : <TStateProps, TOwnProps>(mapStateToProps?: any, mapDispatchToProps?: any, mergeProps?: any, options?: unknown) => InferableComponentEnhancerWithProps<TStateProps, Omit<P, Extract<keyof TStateProps, keyof P>> & TOwnProps>
59+
>function( mapStateToProps?: any, mapDispatchToProps?: any, mergeProps?: any, options: unknown = {},) { return connect( mapStateToProps, mapDispatchToProps, mergeProps, options, );} : <TStateProps, TOwnProps>(mapStateToProps?: any, mapDispatchToProps?: any, mergeProps?: any, options?: unknown) => InferableComponentEnhancerWithProps<TStateProps, TOwnProps>
6060

6161
mapStateToProps?: any,
6262
>mapStateToProps : any
@@ -73,7 +73,7 @@ const myStoreConnect: Connect = function(
7373

7474
) {
7575
return connect(
76-
>connect( mapStateToProps, mapDispatchToProps, mergeProps, options, ) : InferableComponentEnhancerWithProps<TStateProps, Omit<P, Extract<keyof TStateProps, keyof P>> & TOwnProps>
76+
>connect( mapStateToProps, mapDispatchToProps, mergeProps, options, ) : InferableComponentEnhancerWithProps<TStateProps, TOwnProps>
7777
>connect : Connect
7878

7979
mapStateToProps,

tests/baselines/reference/omitTypeTestErrors01.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface Foo {
1313
}
1414

1515
export type Bar = Omit<Foo, "c">;
16-
>Bar : { a: string; b: number; }
16+
>Bar : { b: number; a: string; }
1717

1818
export type Baz = Omit<Foo, "b" | "c">;
1919
>Baz : { a: string; }

tests/baselines/reference/omitTypeTests01.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface Foo {
1313
}
1414

1515
export type Bar = Omit<Foo, "c">;
16-
>Bar : { a: string; b: number; }
16+
>Bar : { b: number; a: string; }
1717

1818
export type Baz = Omit<Foo, "b" | "c">;
1919
>Baz : { a: string; }

0 commit comments

Comments
 (0)