Accept new baselines

This commit is contained in:
Anders Hejlsberg 2024-02-04 13:45:30 -08:00
parent 398533bb4a
commit ad0a847fd3
4 changed files with 17 additions and 16 deletions

View File

@ -7240,19 +7240,20 @@ declare namespace ts {
Tuple = 8,
Anonymous = 16,
Mapped = 32,
Instantiated = 64,
ObjectLiteral = 128,
EvolvingArray = 256,
ObjectLiteralPatternWithComputedProperties = 512,
ReverseMapped = 1024,
JsxAttributes = 2048,
JSLiteral = 4096,
FreshLiteral = 8192,
ArrayLiteral = 16384,
TypeAliasInstantiation = 64,
Instantiated = 128,
ObjectLiteral = 256,
EvolvingArray = 512,
ObjectLiteralPatternWithComputedProperties = 1024,
ReverseMapped = 2048,
JsxAttributes = 4096,
JSLiteral = 8192,
FreshLiteral = 16384,
ArrayLiteral = 32768,
ClassOrInterface = 3,
ContainsSpread = 2097152,
ObjectRestType = 4194304,
InstantiationExpressionType = 8388608,
ContainsSpread = 4194304,
ObjectRestType = 8388608,
InstantiationExpressionType = 16777216,
}
interface ObjectType extends Type {
objectFlags: ObjectFlags;

View File

@ -56,7 +56,7 @@ declare var connect: Connect;
const myStoreConnect: Connect = function(
>myStoreConnect : Connect
>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>
>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>
mapStateToProps?: any,
>mapStateToProps : any
@ -73,7 +73,7 @@ const myStoreConnect: Connect = function(
) {
return connect(
>connect( mapStateToProps, mapDispatchToProps, mergeProps, options, ) : InferableComponentEnhancerWithProps<TStateProps, Omit<P, Extract<keyof TStateProps, keyof P>> & TOwnProps>
>connect( mapStateToProps, mapDispatchToProps, mergeProps, options, ) : InferableComponentEnhancerWithProps<TStateProps, TOwnProps>
>connect : Connect
mapStateToProps,

View File

@ -13,7 +13,7 @@ interface Foo {
}
export type Bar = Omit<Foo, "c">;
>Bar : { a: string; b: number; }
>Bar : { b: number; a: string; }
export type Baz = Omit<Foo, "b" | "c">;
>Baz : { a: string; }

View File

@ -13,7 +13,7 @@ interface Foo {
}
export type Bar = Omit<Foo, "c">;
>Bar : { a: string; b: number; }
>Bar : { b: number; a: string; }
export type Baz = Omit<Foo, "b" | "c">;
>Baz : { a: string; }