File tree 6 files changed +18
-2
lines changed
6 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"cSpell.words" : [
3
- " buymeacoffee" ,
4
3
" cadr" ,
5
4
" codr" ,
6
5
" deinsoftware" ,
Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ Fixed for any bug fixes.
9
9
Security to invite users to upgrade in case of vulnerabilities.
10
10
-->
11
11
12
+ ## 1.9.0 - 2023/05/01
13
+
14
+ ### Added
15
+
16
+ - constant object freeze snippet
17
+
12
18
## 1.8.2 - 2023/04/14
13
19
14
20
### Fixed
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ Below is a list of all available snippets and the triggers of each one. The `░
90
90
| ` cn→ ` | const number | ` const ░name = ░0█ ` | ` const ░name: number = ░0█ ` |
91
91
| ` cb→ ` | const boolean | ` const ░name = ░true█ ` | ` const ░name: boolean = ░true█ ` |
92
92
| ` co→ ` | const object | ` const ░name = {░}█ ` | ` const ░name = {░}█ ` |
93
+ | ` co→ ` | const object freeze | ` const ░name = Object.freeze({░})█ ` | ` const ░name = Object.freeze({░})█ ` |
93
94
| ` coi→ ` | const object interface | | ` const ░name: Interface = {░}█ ` |
94
95
| ` ca→ ` | const array | ` const ░name = [░]█ ` | ` const ░name = [░]█ ` |
95
96
| ` cat→ ` | const array type | | ` const ░name: type = [░]█ ` |
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " const-props-snippets" ,
3
3
"description" : " VS Code Const & Props snippets for JS and TS" ,
4
- "version" : " 1.8.2 " ,
4
+ "version" : " 1.9.0 " ,
5
5
"displayName" : " Const & Props Snippets" ,
6
6
"publisher" : " deinsoftware" ,
7
7
"icon" : " images/light-icon.png" ,
Original file line number Diff line number Diff line change 29
29
"body" : " const ${1:name} = {$2}$0" ,
30
30
"description" : " Constant Object"
31
31
},
32
+ "constantObjectFreeze" : {
33
+ "prefix" : " cof" ,
34
+ "body" : " const ${1:name} = Object.freeze({$2})$0" ,
35
+ "description" : " Constant Object Freeze"
36
+ },
32
37
"constantArray" : {
33
38
"prefix" : " ca" ,
34
39
"body" : " const ${1:name} = [$2]$0" ,
Original file line number Diff line number Diff line change 39
39
"body" : " const ${1:name} = {$2}$0" ,
40
40
"description" : " Constant Object"
41
41
},
42
+ "constantObjectFreeze" : {
43
+ "prefix" : " cof" ,
44
+ "body" : " const ${1:name} = Object.freeze({$2})$0" ,
45
+ "description" : " Constant Object Freeze"
46
+ },
42
47
"constantObjectInterface" : {
43
48
"prefix" : " coi" ,
44
49
"body" : " const ${1:name}: ${3:Interface} = {$2}$0" ,
You can’t perform that action at this time.
0 commit comments