Skip to content

Commit 3ab6016

Browse files
author
Robert Jackson
authored
Merge branch 'master' into fix-private-class
2 parents f8e8876 + 4d07b10 commit 3ab6016

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

lib/utils/js-parser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const options = {
2626
'decorators-legacy',
2727
'classPrivateProperties',
2828
'classPrivateMethods',
29+
'typescript',
2930
],
3031
};
3132

test/fixtures/app/example-ts/classic-to-flat.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ module.exports = {
3737
'layout-name': {
3838
'has-layout-name.ts': [
3939
'// top-level-component.ts',
40+
'interface IArgs {key: string}',
4041
'Component.extend({ layoutName: "components/layout-name/layout-name-template" });',
4142
].join('\n'),
4243
},

test/fixtures/app/example-ts/classic-to-nested.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ module.exports = {
4646
'layout-name': {
4747
'has-layout-name.ts': [
4848
'// top-level-component.ts',
49+
'interface IArgs {key: string}',
4950
'Component.extend({ layoutName: "components/layout-name/layout-name-template" });',
5051
].join('\n'),
5152
},

test/fixtures/app/example-ts/input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ module.exports = {
2222
'super-nested-component.ts': '// nested1/nested2/super-nested-component.ts',
2323
},
2424
},
25-
2625
// A component with layoutName
2726
'layout-name': {
2827
'has-layout-name.ts': [
2928
'// top-level-component.ts',
29+
'interface IArgs {key: string}',
3030
'Component.extend({ layoutName: "components/layout-name/layout-name-template" });',
3131
].join('\n'),
3232
},

0 commit comments

Comments
 (0)