Skip to content

Commit 558c307

Browse files
authored
fix(typing): don't mark BabelConfig as internal type (#1667)
Close #1666
1 parent 238a538 commit 558c307

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"npm-run-all": "latest",
122122
"prettier": "2.x",
123123
"source-map": "latest",
124-
"typescript": "^3.9.2"
124+
"typescript": "3.x"
125125
},
126126
"lint-staged": {
127127
"*.{ts,tsx}": [

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type BabelJestTransformer = {
2323
[K in Exclude<keyof Transformer, 'createTransformer'>]: Exclude<Transformer[K], undefined>
2424
}
2525
/**
26-
* @internal
26+
* Don't mark as internal because it is used in TsJestGlobalOptions which is an exposed type
2727
*/
2828
export type BabelConfig = _babel.TransformOptions
2929

0 commit comments

Comments
 (0)