Skip to content

Commit 67a9357

Browse files
Accepted baselines.
1 parent 8170bf3 commit 67a9357

6 files changed

+19
-7
lines changed

Diff for: tests/baselines/reference/circularlySimplifyingConditionalTypesNoCrash.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,14 @@ const myStoreConnect: Connect = function(
4545
mergeProps,
4646
options,
4747
);
48-
};
48+
};
49+
50+
export {};
51+
4952

5053
//// [circularlySimplifyingConditionalTypesNoCrash.js]
5154
"use strict";
55+
exports.__esModule = true;
5256
var myStoreConnect = function (mapStateToProps, mapDispatchToProps, mergeProps, options) {
5357
if (options === void 0) { options = {}; }
5458
return connect(mapStateToProps, mapDispatchToProps, mergeProps, options);

Diff for: tests/baselines/reference/circularlySimplifyingConditionalTypesNoCrash.symbols

+3
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,6 @@ const myStoreConnect: Connect = function(
152152

153153
);
154154
};
155+
156+
export {};
157+

Diff for: tests/baselines/reference/circularlySimplifyingConditionalTypesNoCrash.types

+3
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,6 @@ const myStoreConnect: Connect = function(
9090

9191
);
9292
};
93+
94+
export {};
95+

Diff for: tests/baselines/reference/indexedAccessRetainsIndexSignature.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ type Omit1<U, K extends keyof U> = Pick<U, Diff<keyof U, K>>;
88
type Omit2<T, K extends keyof T> = {[P in Diff<keyof T, K>]: T[P]};
99

1010
type O = Omit<{ a: number, b: string }, 'a'>
11-
const o: O = { b: '' }
11+
export const o: O = { b: '' }
1212

1313

1414
//// [indexedAccessRetainsIndexSignature.js]
15-
var o = { b: '' };
15+
"use strict";
16+
exports.__esModule = true;
17+
exports.o = { b: '' };

Diff for: tests/baselines/reference/indexedAccessRetainsIndexSignature.symbols

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ type O = Omit<{ a: number, b: string }, 'a'>
5555
>a : Symbol(a, Decl(indexedAccessRetainsIndexSignature.ts, 8, 15))
5656
>b : Symbol(b, Decl(indexedAccessRetainsIndexSignature.ts, 8, 26))
5757

58-
const o: O = { b: '' }
59-
>o : Symbol(o, Decl(indexedAccessRetainsIndexSignature.ts, 9, 5))
58+
export const o: O = { b: '' }
59+
>o : Symbol(o, Decl(indexedAccessRetainsIndexSignature.ts, 9, 12))
6060
>O : Symbol(O, Decl(indexedAccessRetainsIndexSignature.ts, 6, 67))
61-
>b : Symbol(b, Decl(indexedAccessRetainsIndexSignature.ts, 9, 14))
61+
>b : Symbol(b, Decl(indexedAccessRetainsIndexSignature.ts, 9, 21))
6262

Diff for: tests/baselines/reference/indexedAccessRetainsIndexSignature.types

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type O = Omit<{ a: number, b: string }, 'a'>
2121
>a : number
2222
>b : string
2323

24-
const o: O = { b: '' }
24+
export const o: O = { b: '' }
2525
>o : Pick<{ a: number; b: string; }, "b">
2626
>{ b: '' } : { b: string; }
2727
>b : string

0 commit comments

Comments
 (0)