Add missing return type

be145c0bfff00eb8fd3e2836506265dbc1458863

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/openai.js+1 -1
@@ -2485,7 +2485,7 @@ class Message {
24852485 * Get the token cost of an image.
24862486 * @param {string} dataUrl Data URL of the image.
24872487 * @param {string} quality String representing the quality of the image. Can be 'low', 'auto', or 'high'.
2488- * @returns
2488+ * @returns {Promise<number>} The token cost of the image.
24892489 */
24902490 async getImageTokenCost(dataUrl, quality) {
24912491 if (quality === 'low') {