Skip to content

Commit b1abff5

Browse files
author
Sabbir Ahmed
authored
Merge pull request #683 from SojebSikder/develop
added typescript decorator section in typescript.json
2 parents 2edbb93 + 7e61ab3 commit b1abff5

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

data/typescript.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,18 @@
260260
}
261261
]
262262
},
263+
{
264+
"title": "ডেকোরেটর",
265+
"items": [{
266+
"definition": "ডিক্লারেশন",
267+
"code": "function food(value: string)\n{ \n return function (target: any, propertyKey: string, descriptor: PropertyDescriptor) {};}"
268+
},
269+
{
270+
"definition": "ডেকোরেটর ব্যাবহার করা",
271+
"code": "@food('burger')\n class kitchen {} "
272+
}
273+
]
274+
},
263275
{
264276
"title": "ইউটিলিটি টাইপ",
265277
"items": [{

0 commit comments

Comments
 (0)