---
title: "Discussion on \"Angular - @Input\" | Hashnode"
description: "Discussion on \"Angular - @Input\". employee.ts\nexport interface IEmployee {\n  id: number;\n  code: string;\n  name: string;\n  salary: number;\n}\n\nparent-component.component.ts\nimport { Component, OnInit } from '@angular/core';\nimport { IEmployee } from './employee';\n\n@Component({\n  selec..."
url: "https://hashnode.com/posts/angular-input/612236f1e404793819caabac"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Angular - @Input](https://dotnetbees.com/angular-input?utm_source=hashnode&utm_medium=feed)

employee.ts export interface IEmployee { id: number; code: string; name: string; salary: number; } parent-component.component.ts import { Component, OnInit } from '@angular/core'; import { IEmployee } from './employee'; @Component({ selec...

Aug 22, 2021 · 1 min read · dotnetbees.com  
Updated Oct 24, 2021  
Read the article

-   [#angular](https://hashnode.com/tag/angular)

## Written by

[Akshaykumar Patel](https://hashnode.com/@dotnetbees)

@dotnetbees

  
[View profile](https://hashnode.com/@dotnetbees)

## Responses 1

Markdown supported · ⌘↵ to post

[sandeep negi](https://hashnode.com/@sandeepnegi1996)

[Sep 19, 2021](https://hashnode.com/posts/angular-input/612236f1e404793819caabac/comment/6146db45e1f56817e3607a0a)

loved this short and consise and to the point blogpost
