File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " es7-react-js-snippets" ,
3
3
"displayName" : " ES7+ React/Redux/React-Native snippets" ,
4
4
"description" : " Extensions for React, React-Native and Redux in JS/TS with ES7+ syntax. Customizable. Built-in integration with prettier." ,
5
- "version" : " 4.3.1 " ,
5
+ "version" : " 4.3.2 " ,
6
6
"publisher" : " dsznajder" ,
7
7
"icon" : " images/logo.png" ,
8
8
"browser" : " ./lib/index.js" ,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ type ConsoleMapping = {
16
16
consoleTimeEnd : 'cte' ;
17
17
consoleWarn : 'cwa' ;
18
18
consoleInfo : 'cin' ;
19
+ consoleTable : 'ctl' ;
19
20
} ;
20
21
21
22
export type ConsoleSnippet = SnippetMapping < ConsoleMapping > ;
@@ -134,6 +135,13 @@ const consoleInfo: ConsoleSnippet = {
134
135
'Displays a message in the console but also displays a blue information icon along with the logged message' ,
135
136
} ;
136
137
138
+ const consoleTable : ConsoleSnippet = {
139
+ key : 'consoleTable' ,
140
+ prefix : 'ctl' ,
141
+ body : [ `console.table([${ Placeholders . FirstTab } ])` ] ,
142
+ description : 'Logs table to console' ,
143
+ } ;
144
+
137
145
export default [
138
146
consoleAssert ,
139
147
consoleClear ,
@@ -150,4 +158,5 @@ export default [
150
158
consoleTimeEnd ,
151
159
consoleWarn ,
152
160
consoleInfo ,
161
+ consoleTable ,
153
162
] ;
You can’t perform that action at this time.
0 commit comments