chore(jsdoc): fix jsdoc in htmx.js and htmx.d.ts files

This commit is contained in:
Guz
2024-10-24 17:24:46 -03:00
parent 3ae232a779
commit c05086a93e
2 changed files with 12 additions and 9 deletions

15
assets/lib/htmx.d.ts vendored
View File

@@ -1,24 +1,25 @@
// @ts-nocheck
/**
* @license 0-clause
* @copyright Big Sky Software 2024
* @license 0BSD
* @link https://github.com/bigskysoftware/htmx/blob/master/dist/htmx.d.ts
* @copyright Big Sky Software 2024
* @author Big Sky Software <https://github.com/bigskysoftware>
* @link https://github.com/bigskysoftware/htmx/blob/master/dist/htmx.d.ts
*
* This source code is copied from HTMX's GitHub repository, located at
* https://github.com/bigskysoftware/htmx/blob/master/dist/htmx.esm.js.
* https://github.com/bigskysoftware/htmx/blob/master/dist/htmx.esm.js.
*
* This source code and the original are licensed under the Zero-Clause BSD license,
* This source code and the original are licensed under the Zero-Clause BSD license,
* which a copy is available in the original [GitHub](https://github.com/bigskysoftware/htmx/blob/master/LICENSE)
* and here below:
*
* Zero-Clause BSD
* =============
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted.
*
*
* THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
@@ -30,7 +31,6 @@
/* eslint-disable */
export default htmx;
export type HttpVerb = "get" | "head" | "post" | "put" | "delete" | "connect" | "options" | "trace" | "patch";
export type SwapOptions = {
@@ -237,4 +237,3 @@ declare namespace htmx {
let _: (str: string) => any;
let version: string;
}

View File

@@ -2,8 +2,10 @@
/**
* @copyright Big Sky Software 2024
* @license 0-clause
* @copyright Big Sky Software 2024
* @license 0BSD
* @link https://github.com/bigskysoftware/htmx/blob/master/dist/htmx.esm.js
* @author Big Sky Software <https://github.com/bigskysoftware>
*
* This source code is copied from HTMX's GitHub repository, located at
* https://github.com/bigskysoftware/htmx/blob/master/dist/htmx.esm.js.
@@ -28,6 +30,8 @@
* @author Big Sky Software <https://github.com/bigskysoftware>
*/
/* eslint-disable */
var htmx = (function () {
'use strict';