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:
Masahiro Wakame
2015-10-06 23:37:27 +09:00
+1 -1
View File
@@ -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[];