File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " babel-preset-proposal-typescript" ,
3- "version" : " 1.4.3 " ,
3+ "version" : " 1.4.4 " ,
44 "description" : " Yet another Babel preset for TypeScript, only transforms proposals which TypeScript does not support now." ,
55 "repository" : " git@github.com/rx-ts/babel-preset-proposal-typescript.git" ,
66 "author" : " JounQin <admin@1stg.me>" ,
Original file line number Diff line number Diff line change @@ -32,10 +32,14 @@ export default declare((api, opts) => {
3232 plugins : [
3333 [
3434 syntaxDecorators ,
35- {
36- decoratorsBeforeExport,
37- legacy : decoratorsLegacy ,
38- } ,
35+ Object . assign (
36+ {
37+ legacy : decoratorsLegacy ,
38+ } ,
39+ typeof decoratorsBeforeExport === 'boolean' && {
40+ decoratorsBeforeExport,
41+ } ,
42+ ) ,
3943 ] ,
4044 syntaxDynamicImport ,
4145 [
You can’t perform that action at this time.
0 commit comments