@wrnrlr/prelude 0.2.1 → 0.2.2
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/deno.jsonc +1 -1
- package/package.json +1 -1
- package/src/mod.ts +1 -1
- package/src/runtime.ts +1 -1
package/deno.jsonc
CHANGED
package/package.json
CHANGED
package/src/mod.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export type {Getter,Setter,Fn,EqualsFn,ErrorFn,RootFn,UpdateFn} from './reactive.ts'
|
1
|
+
export type {Getter,Setter,Fn,EqualsFn,ErrorFn,RootFn,UpdateFn,Signal} from './reactive.ts'
|
2
2
|
export {signal,effect,untrack,batch,memo,root,wrap,fuse,onMount,onCleanup} from './reactive.ts'
|
3
3
|
export {nbsp} from './constants.ts'
|
4
4
|
export {Show,List} from './controlflow.ts'
|
package/src/runtime.ts
CHANGED
@@ -338,7 +338,7 @@ function setAttribute(node: Element, name: string, value?: string): undefined {
|
|
338
338
|
value===undefined || value===null ? node.removeAttribute(name) : node.setAttribute(name, value)
|
339
339
|
}
|
340
340
|
|
341
|
-
function setAttributeNS(node:Node, ns:string, name:string, value?:string):
|
341
|
+
function setAttributeNS(node:Node, ns:string, name:string, value?:string):void {
|
342
342
|
value ? node.setAttributeNS(ns, name, value) : node.removeAttributeNS(ns, name)
|
343
343
|
}
|
344
344
|
|