mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Merge pull request #6144 from rehmsen/feature/fix-libxmljs-attr
Adapt the return type of attr() with one parameter of type string to …
This commit is contained in:
commit
7c32848e3e
1 file changed
+1
-1
Vendored
+1
-1
@@ -42,7 +42,7 @@ declare module "libxmljs" {
|
||||
name():string;
|
||||
name(newName:string):void;
|
||||
text():string;
|
||||
attr(name:string):string;
|
||||
attr(name:string):Attribute;
|
||||
attr(attr:Attribute):void;
|
||||
attr(attrObject:{[key:string]:string;}):void;
|
||||
attrs():Attribute[];
|
||||
|
||||
Reference in new issue
Block a user