Skip to content

Instantly share code, notes, and snippets.

@cyberpirate92
Created May 14, 2019 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyberpirate92/7477a712c2f297875d75bfcd02afb8d1 to your computer and use it in GitHub Desktop.
Save cyberpirate92/7477a712c2f297875d75bfcd02afb8d1 to your computer and use it in GitHub Desktop.
export class ChildComponent {
@Input() person: Person;
}
export interface Person {
name: string;
age: number;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment