---
title: "Discussion on \"3. Interfaces | Types | typeof | in operator | optional nullish  - Typescript\" | Hashnode"
description: "Discussion on \"3. Interfaces | Types | typeof | in operator | optional nullish  - Typescript\". Interface Basics\nAn interface is a blueprint that defines the shape of an object.\n//Interfaces are a way to define the shape of an object\n\ninterface User333{\n    id:string;\n    name:string;\n    email?: string;\n}\n\nconst user333:User333 = {\n    id:\"1\",..."
url: "https://hashnode.com/posts/3-interfaces-types-typeof-in-operator-optional-nullish-typescript/6975ef25bfa3dd09421b08a8"
---

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

Discussion

# [3\. Interfaces | Types | typeof | in operator | optional nullish - Typescript](https://typescript123.hashnode.dev/3-interfaces-types-typeof-in-operator-optional-nullish-typescript?utm_source=hashnode&utm_medium=feed)

Interface Basics An interface is a blueprint that defines the shape of an object. //Interfaces are a way to define the shape of an object interface User333{ id:string; name:string; email?: string; } const user333:User333 = { id:"1",...

Jan 25 · 4 min read · typescript123.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#interface](https://hashnode.com/tag/interface)
-   [#type-aliases](https://hashnode.com/tag/type-aliases)
-   [#types](https://hashnode.com/tag/types)
-   [#optional-chaining](https://hashnode.com/tag/optional-chaining)
-   [#in-operator](https://hashnode.com/tag/in-operator)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#typescript-generics](https://hashnode.com/tag/typescript-generics)

## Written by

[Ayush Rajput](https://hashnode.com/@ayuxsh)

@ayuxsh

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

</ hello world >

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
