Eliminate implicit any in "xpath" tests.

This commit is contained in:
Andrew Bradley
2014-08-31 01:03:59 -04:00
parent 495675e550
commit 80dea1ec41

View File

@@ -15,9 +15,8 @@ var node: Node;
var stringResult: string;
var booleanResult: boolean;
var numberResult: number;
var selectFn;
var expression: xpath.XPathExpression;
var namespaceResolver;
var namespaceResolver: xpath.XPathNSResolver;
var xpathResult: xpath.XPathResult;
var length: number;
@@ -34,7 +33,7 @@ stringResult = xpath.select(xpathText, doc).toString();
node = xpath.select(xpathText, doc)[0];
selectFn = xpath.useNamespaces({
var selectFn = xpath.useNamespaces({
'prefix': 'http://namespaceuri.com/nsfile'
});
nodes = selectFn(xpathText, doc);