Skip to content

Commit abfba75

Browse files
committed
removing ts-check
1 parent 10fdefd commit abfba75

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

src/analytics/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// @ts-check
21
const { existsSync, mkdirSync } = require('fs')
32
const { join } = require('path')
43
const Countly = require('countly-sdk-nodejs')

src/analytics/keys.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// @ts-check
2-
31
/**
42
* This should be an enum once we migrate to typescript
53
*

src/common/logger.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// @ts-check
21
const { join } = require('path')
32
const { performance } = require('perf_hooks')
43
const Countly = require('countly-sdk-nodejs')
@@ -138,11 +137,11 @@ module.exports = Object.freeze({
138137
}
139138
},
140139

141-
warn: (msg, meta) => {
140+
warn: (/** @type {string} */ msg, /** @type {import("winston").LogCallback} */ meta) => {
142141
logger.warn(msg, meta)
143142
},
144143

145-
debug: (msg) => {
144+
debug: (/** @type {any} */ msg) => {
146145
logger.debug(msg)
147146
},
148147

0 commit comments

Comments
 (0)