I have a small component where I have only one input
Ts component Code
@Input() variables;
ngOnInit() {
console.log(this.variables);
}
Where I use my component TS
envVars$: Observable<{
names: String[],
values: {}
}>;
Where I use my component HTML
<app-code [variables]="(envVars$ | async)?.values | json"></app-code>
In the console log I HAVE NULL though my object is full