Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
const axios = require("axios").default;

// Load your modules here, e.g.:
// const fs = require("fs");
// const fs = require("node:fs");

class Powerfox2 extends utils.Adapter {
/**
* @param {Partial<utils.AdapterOptions>} [options]

Check warning on line 17 in main.js

View workflow job for this annotation

GitHub Actions / check-and-lint

Missing JSDoc @param "options" description
*/
constructor(options) {
super({
Expand Down Expand Up @@ -391,7 +391,7 @@
/**
* Is called when adapter shuts down - callback has to be called under any circumstances!
*
* @param {() => void} callback

Check warning on line 394 in main.js

View workflow job for this annotation

GitHub Actions / check-and-lint

Missing JSDoc @param "callback" description
*/
onUnload(callback) {
try {
Expand Down Expand Up @@ -463,7 +463,7 @@
if (require.main !== module) {
// Export the constructor in compact mode
/**
* @param {Partial<utils.AdapterOptions>} [options]

Check warning on line 466 in main.js

View workflow job for this annotation

GitHub Actions / check-and-lint

Missing JSDoc @param "options" description
*/
module.exports = (options) => new Powerfox2(options);
} else {
Expand Down
Loading