Skip to content

Commit a9e201d

Browse files
committed
chore(babel-config): enable mapUnknownReferenceTypesToAny
1 parent 96df910 commit a9e201d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

babel.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ module.exports = {
1212
],
1313
],
1414
plugins: [
15-
'babel-plugin-typescript-to-proptypes',
15+
[
16+
'babel-plugin-typescript-to-proptypes',
17+
{ mapUnknownReferenceTypesToAny: true },
18+
],
1619
require('./babel-plugin-package-version'),
1720
],
1821
};

0 commit comments

Comments
 (0)