Skip to content

Commit b4c50b0

Browse files
committed
refactor: let user choose equality operator in tof
1 parent cdf4d68 commit b4c50b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

snippets/javascript.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198

199199
"typeof": {
200200
"prefix": "tof",
201-
"body": "typeof ${1:source} === $0",
201+
"body": "typeof ${1:source} ${2:=}== $0",
202202
"description": "Hyper: typeof"
203203
},
204204
"instanceof": {

snippets/typescript.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223

224224
"typeof": {
225225
"prefix": "tof",
226-
"body": "typeof ${1:source} === $0",
226+
"body": "typeof ${1:source} ${2:=}== $0",
227227
"description": "Hyper: typeof"
228228
},
229229
"instanceof": {

0 commit comments

Comments
 (0)