File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 11
11
12
12
returns : {
13
13
abbreviation : 'string' ,
14
- client_ip : 'string' ,
14
+ [ ` client_ip` ] : 'string' ,
15
15
datetime : 'string' ,
16
- day_of_week : 'number' ,
17
- day_of_year : 'number' ,
16
+ [ ` day_of_week` ] : 'number' ,
17
+ [ ` day_of_year` ] : 'number' ,
18
18
dst : 'boolean' ,
19
- dst_from : 'string' ,
20
- dst_offset : 'number' ,
21
- dst_until : 'string' ,
22
- raw_offset : 'number' ,
19
+ [ ` dst_from` ] : 'string' ,
20
+ [ ` dst_offset` ] : 'number' ,
21
+ [ ` dst_until` ] : 'string' ,
22
+ [ ` raw_offset` ] : 'number' ,
23
23
timezone : 'string' ,
24
24
unixtime : 'number' ,
25
- utc_datetime : 'string' ,
26
- utc_offset : 'string' ,
27
- week_number : 'number' ,
25
+ [ ` utc_datetime` ] : 'string' ,
26
+ [ ` utc_offset` ] : 'string' ,
27
+ [ ` week_number` ] : 'number' ,
28
28
} ,
29
29
} ) ;
Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ class Application {
460
460
saveFile ( 'home.md' , file ) ;
461
461
} else if ( args [ 0 ] === 'counter' ) {
462
462
const packet = await api . example . counter ( ) ;
463
- application . print ( `counter: ${ packet . result } ` ) ;
463
+ this . print ( `counter: ${ packet . result } ` ) ;
464
464
}
465
465
commandLoop ( ) ;
466
466
}
You can’t perform that action at this time.
0 commit comments