File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
packages/pretty-format/src Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
- ` [jest-snapshot] ` Downgrade semver to v6 to support node 8 ([ #9451 ] ( https://github.com/facebook/jest/pull/9451 ) )
8
8
- ` [jest-transform] ` Correct sourcemap behavior for transformed and instrumented code ([ #9460 ] ( https://github.com/facebook/jest/pull/9460 ) )
9
+ - ` [pretty-format] ` Export ` OldPlugin ` type ([ #9491 ] ( https://github.com/facebook/jest/pull/9491 ) )
9
10
10
11
### Chore & Maintenance
11
12
Original file line number Diff line number Diff line change @@ -527,12 +527,13 @@ prettyFormat.plugins = {
527
527
ReactTestComponent,
528
528
} ;
529
529
530
- /* eslint-disable-next-line no-redeclare */
530
+ // eslint-disable-next-line no-redeclare
531
531
namespace prettyFormat {
532
532
export type Colors = PrettyFormat . Colors ;
533
533
export type Config = PrettyFormat . Config ;
534
534
export type Options = PrettyFormat . Options ;
535
535
export type OptionsReceived = PrettyFormat . OptionsReceived ;
536
+ export type OldPlugin = PrettyFormat . OldPlugin ;
536
537
export type NewPlugin = PrettyFormat . NewPlugin ;
537
538
export type Plugin = PrettyFormat . Plugin ;
538
539
export type Plugins = PrettyFormat . Plugins ;
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ type PluginOptions = {
101
101
spacing : string ;
102
102
} ;
103
103
104
- type OldPlugin = {
104
+ export type OldPlugin = {
105
105
print : (
106
106
val : any ,
107
107
print : Print ,
You can’t perform that action at this time.
0 commit comments