Skip to content

Commit c2c11d6

Browse files
author
Aleksey Okhrimenko
committed
fix wrong contructor keyword placement
1 parent d0cd9cf commit c2c11d6

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 0.0.5
4+
5+
- Fix wrong contructor keyword placement
6+
37
## 0.0.4
48

59
- Avoiding duplicate inputs

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "arrr",
33
"displayName": "arrr",
44
"description": "The extension provides refactoring tools for your Angular codebase",
5-
"version": "0.0.4",
5+
"version": "0.0.5",
66
"publisher": "obenjiro",
77
"engines": {
88
"vscode": "^1.47.0"

src/modules/extract-to-folder-template.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ export function getComponentText(componentName: string, targets: string[]): stri
4141
styleUrls: ['./${componentName}.component.css']
4242
})
4343
export class ${pascalCase(componentName)}Component {
44-
${targets.map((target) => `@Input() ${target}`).join('\n ')}constructor () {}
44+
${targets.map((target) => `@Input() ${target}`).join('\n ')}
45+
constructor () {}
4546
}`;
4647
}
4748

0 commit comments

Comments
 (0)