File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,17 @@ export type SetTextContent = {
1616 textContent : string ;
1717} ;
1818
19+ /** Record from attribute names to attribute values */
1920export type Attributes = Partial < Record < string , string | null > > ;
2021
22+ /** Record from namespace URIs to `Attributes` records */
2123export type AttributesNS = Partial < Record < string , Attributes > > ;
2224
2325/** Intent to set or remove (if `null`) `attributes`(-`NS`) on `element` */
2426export type SetAttributes = {
2527 element : Element ;
26- attributes : Partial < Record < string , string | null > > ;
27- attributesNS : Partial < Record < string , Partial < Record < string , string | null > > > > ;
28+ attributes : Attributes ;
29+ attributesNS : AttributesNS ;
2830} ;
2931
3032/** Intent to change some XMLDocuments */
You can’t perform that action at this time.
0 commit comments