Skip to content

Commit 09d0f79

Browse files
Merge pull request #24 from Talentia-Software-OSS/3.0.x
Restored decorators Inputs
2 parents 7c0e0f5 + 30410b3 commit 09d0f79

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular2-prettyjson",
3-
"version": "3.0.10",
3+
"version": "3.0.11",
44
"scripts": {
55
"ng": "ng",
66
"build": "npm-run-all -s clean:build build:prod",

projects/angular2-prettyjson/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@talentia/angular2-prettyjson",
33
"title": "Angular Pretty JSON",
44
"description": "An Angular module to pretty print JSON objects.",
5-
"version": "3.0.10",
5+
"version": "3.0.11",
66
"license": "MIT",
77
"licenseFilename": "LICENSE",
88
"peerDependencies": {

projects/angular2-prettyjson/src/lib/prettyjson.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, input } from "@angular/core";
1+
import { Component, Input } from "@angular/core";
22

33
@Component({
44
standalone: false,
@@ -17,5 +17,5 @@ import { Component, input } from "@angular/core";
1717
`,
1818
})
1919
export class PrettyJsonComponent {
20-
public readonly obj = input<any>();
20+
@Input() public obj: any;
2121
}

0 commit comments

Comments
 (0)