jsquery_node 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsquery.ts +2 -2
- package/package.json +1 -1
package/jsquery.ts
CHANGED
|
@@ -204,8 +204,8 @@ export const { $, JSQuery } = (() => {
|
|
|
204
204
|
value(): string;
|
|
205
205
|
value(val: string): this;
|
|
206
206
|
value(val?: string): string | this {
|
|
207
|
-
if (val == undefined) return this.
|
|
208
|
-
this.
|
|
207
|
+
if (val == undefined) return (this.elt as any).value;
|
|
208
|
+
(this.elt as any).value = val;
|
|
209
209
|
return this;
|
|
210
210
|
}
|
|
211
211
|
checked(): boolean;
|