Skip to content

Commit

Permalink
refactor: forgotten input with strict typings
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime1992 committed Feb 2, 2024
1 parent c0cc874 commit f32ee97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/child/child.component.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { getObservableLifecycle } from 'ngx-observable-lifecycle';
import { Nilable } from 'tsdef';

@Component({
selector: 'app-child',
templateUrl: './child.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ChildComponent {
@Input() input: number;
@Input() input: Nilable<number>;

constructor() {
const {
Expand Down

0 comments on commit f32ee97

Please sign in to comment.