return to function declarations w/type tag

pull/16485/head
Nathan Shively-Sanders 1 month ago
parent c2f5e05ee4
commit 5d567f39e1

@ -1,9 +1,9 @@
/** @import { Equals } from '#client' */ /** @import { Equals } from '#client' */
/** @type {Equals} */ /** @type {Equals} */
export const equals = function (value) { export function equals(value) {
return value === this.v; return value === this.v;
}; }
/** /**
* @param {unknown} a * @param {unknown} a
@ -26,6 +26,6 @@ export function not_equal(a, b) {
} }
/** @type {Equals} */ /** @type {Equals} */
export const safe_equals = function (value) { export function safe_equals(value) {
return !safe_not_equal(value, this.v); return !safe_not_equal(value, this.v);
}; }

Loading…
Cancel
Save