Skip to content

Commit fff6de1

Browse files
authored
fix(migtation): target syntax for Angular events (#4073)
1 parent 9da7a40 commit fff6de1

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

packages/migration/src/migration/v1.0.0-v2.0.0.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,56 +36,56 @@ export const v100_v200: ReplaceInFileConfig[] = [
3636
{
3737
files: '',
3838
from: /\(onClick\)/g,
39-
to: 'click'
39+
to: '(click)'
4040
},
4141
{
4242
files: '',
4343
from: /\(onChange\)/g,
44-
to: 'change'
44+
to: '(change)'
4545
},
4646
{
4747
files: '',
4848
from: /\(onFocus\)/g,
49-
to: 'focus'
49+
to: '(focus)'
5050
},
5151
{
5252
files: '',
5353
from: /\(onBlur\)/g,
54-
to: 'blur'
54+
to: '(blur)'
5555
},
5656
{
5757
files: '',
5858
from: /\(onInput\)/g,
59-
to: 'input'
59+
to: '(input)'
6060
},
6161
{
6262
files: '',
6363
from: /\(onRemove\)/g,
64-
to: 'remove'
64+
to: '(remove)'
6565
},
6666
{
6767
files: '',
6868
from: /\(onSelect\)/g,
69-
to: 'select'
69+
to: '(select)'
7070
},
7171
{
7272
files: '',
7373
from: /\(onToggle\)/g,
74-
to: 'toggle'
74+
to: '(toggle)'
7575
},
7676
{
7777
files: '',
7878
from: /\(onClose\)/g,
79-
to: 'close'
79+
to: '(close)'
8080
},
8181
{
8282
files: '',
8383
from: /\(onTabSelect\)/g,
84-
to: 'tabSelect'
84+
to: '(tabSelect)'
8585
},
8686
{
8787
files: '',
8888
from: /\(onIndexChange\)/g,
89-
to: 'indexChange'
89+
to: '(indexChange)'
9090
}
9191
];

0 commit comments

Comments
 (0)