mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-07 14:34:35 -06:00
Accept new baselines
This commit is contained in:
parent
398533bb4a
commit
ad0a847fd3
25
tests/baselines/reference/api/typescript.d.ts
vendored
25
tests/baselines/reference/api/typescript.d.ts
vendored
@ -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;
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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; }
|
||||
|
||||
@ -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; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user