File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
- // @ts -check
2
1
const { existsSync, mkdirSync } = require ( 'fs' )
3
2
const { join } = require ( 'path' )
4
3
const Countly = require ( 'countly-sdk-nodejs' )
Original file line number Diff line number Diff line change 1
- // @ts -check
2
-
3
1
/**
4
2
* This should be an enum once we migrate to typescript
5
3
*
Original file line number Diff line number Diff line change 1
- // @ts -check
2
1
const { join } = require ( 'path' )
3
2
const { performance } = require ( 'perf_hooks' )
4
3
const Countly = require ( 'countly-sdk-nodejs' )
@@ -138,11 +137,11 @@ module.exports = Object.freeze({
138
137
}
139
138
} ,
140
139
141
- warn : ( msg , meta ) => {
140
+ warn : ( /** @type { string } */ msg , /** @type { import("winston").LogCallback } */ meta ) => {
142
141
logger . warn ( msg , meta )
143
142
} ,
144
143
145
- debug : ( msg ) => {
144
+ debug : ( /** @type { any } */ msg ) => {
146
145
logger . debug ( msg )
147
146
} ,
148
147
You can’t perform that action at this time.
0 commit comments