Skip to content

Commit 1009eb2

Browse files
committed
style: explicit anys added
1 parent ad17d45 commit 1009eb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/getCollection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ export async function getCollection<T>(collection: string): Promise<any> {
1010
let __requested_coll: T[] | null = null
1111
return new Promise((resolve, reject) => {
1212
_database_src
13-
.on('error' , (err) => {
13+
.on('error' , (err : any) => {
1414
reject(new Error(err.message))
1515
})
16-
.on("data", (chunk) => {
16+
.on("data", (chunk: any) => {
1717
database += chunk.toString("utf-8")
1818
})
1919
.on("end", async () => {

0 commit comments

Comments
 (0)