Skip to content

Commit 531bc14

Browse files
committed
new type section added
1 parent 0d396e1 commit 531bc14

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

data/typescript.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,15 @@
269269
"code":"enum Role { ADMIN = 'Admin', READ_ONLY = 300, AUTHOR = 250 }"
270270
}
271271
]
272+
},
273+
{
274+
"title":"ইউটিলিটি টাইপ",
275+
"items":[
276+
{
277+
"definition":"পারশিয়াল বা আংশিক টাইপ",
278+
"code":"interface Person {\n\tname: string;\n\tage: number;\n\theight: string;\n}\nconst person1:Partial<Person> = {\n\tname: 'Hridoy',\n\tage: 28\n}"
279+
}
280+
]
272281
}
273282
]
274283
}

0 commit comments

Comments
 (0)