fix(build): add missing return types now enforced by linter

This commit is contained in:
Alex Eagle
2015-06-26 11:10:52 -07:00
parent bc585f2724
commit 44891996b5
61 changed files with 467 additions and 400 deletions

View File

@ -17,9 +17,11 @@ function _abstract() {
*/
export class DomAdapter {
hasProperty(element, name: string): boolean { throw _abstract(); }
setProperty(el: /*element*/ any, name: string, value: any) { throw _abstract(); }
getProperty(el: /*element*/ any, name: string): any { throw _abstract(); }
invoke(el: /*element*/ any, methodName: string, args: List<any>): any { throw _abstract(); }
setProperty(el: /*(#2770) Element*/ any, name: string, value: any) { throw _abstract(); }
getProperty(el: /*(#2770) Element*/ any, name: string): any { throw _abstract(); }
invoke(el: /*(#2770) Element*/ any, methodName: string, args: List<any>): any {
throw _abstract();
}
logError(error) { throw _abstract(); }
@ -45,45 +47,53 @@ export class DomAdapter {
nodeValue(node): string { throw _abstract(); }
type(node): string { throw _abstract(); }
content(node): any { throw _abstract(); }
firstChild(el): any { throw _abstract(); }
nextSibling(el): any { throw _abstract(); }
parentElement(el): any { throw _abstract(); }
childNodes(el): List<any> { throw _abstract(); }
childNodesAsList(el): List<any> { throw _abstract(); }
firstChild(el): /*(#2770) Node*/ any { throw _abstract(); }
nextSibling(el): /*(#2770) Node*/ any { throw _abstract(); }
parentElement(el): /*(#2770) Node*/ any { throw _abstract(); }
childNodes(el): List</*(#2770) Node*/ any> { throw _abstract(); }
childNodesAsList(el): List</*(#2770) Node*/ any> { throw _abstract(); }
clearNodes(el) { throw _abstract(); }
appendChild(el, node) { throw _abstract(); }
removeChild(el, node) { throw _abstract(); }
replaceChild(el, newNode, oldNode) { throw _abstract(); }
remove(el) { throw _abstract(); }
remove(el): /*(#2770) Node*/ any { throw _abstract(); }
insertBefore(el, node) { throw _abstract(); }
insertAllBefore(el, nodes) { throw _abstract(); }
insertAfter(el, node) { throw _abstract(); }
setInnerHTML(el, value) { throw _abstract(); }
getText(el): any { throw _abstract(); }
getText(el): string { throw _abstract(); }
setText(el, value: string) { throw _abstract(); }
getValue(el): any { throw _abstract(); }
getValue(el): string { throw _abstract(); }
setValue(el, value: string) { throw _abstract(); }
getChecked(el): any { throw _abstract(); }
getChecked(el): boolean { throw _abstract(); }
setChecked(el, value: boolean) { throw _abstract(); }
createTemplate(html): any { throw _abstract(); }
createElement(tagName, doc = null): any { throw _abstract(); }
createTextNode(text: string, doc = null): any { throw _abstract(); }
createScriptTag(attrName: string, attrValue: string, doc = null): any { throw _abstract(); }
createStyleElement(css: string, doc = null): any { throw _abstract(); }
createTemplate(html): /*(#2770) HTMLElement*/ any { throw _abstract(); }
createElement(tagName, doc = null): /*(#2770) HTMLElement*/ any { throw _abstract(); }
createTextNode(text: string, doc = null): /*(#2770) Text*/ any { throw _abstract(); }
createScriptTag(attrName: string, attrValue: string, doc = null): /*(#2770) HTMLElement*/ any {
throw _abstract();
}
createStyleElement(css: string, doc = null): /*(#2770) HTMLStyleElement*/ any {
throw _abstract();
}
createShadowRoot(el): any { throw _abstract(); }
getShadowRoot(el): any { throw _abstract(); }
getHost(el): any { throw _abstract(); }
getDistributedNodes(el): List<any> { throw _abstract(); }
clone(node): any { throw _abstract(); }
getElementsByClassName(element, name: string): List<any> { throw _abstract(); }
getElementsByTagName(element, name: string): List<any> { throw _abstract(); }
getDistributedNodes(el): List</*(#2770) Node*/ any> { throw _abstract(); }
clone(node: /*(#2770) Node*/ any): /*(#2770) Node*/ any { throw _abstract(); }
getElementsByClassName(element, name: string): List</*(#2770) HTMLElement*/ any> {
throw _abstract();
}
getElementsByTagName(element, name: string): List</*(#2770) HTMLElement*/ any> {
throw _abstract();
}
classList(element): List<any> { throw _abstract(); }
addClass(element, classname: string) { throw _abstract(); }
removeClass(element, classname: string) { throw _abstract(); }
hasClass(element, classname: string) { throw _abstract(); }
hasClass(element, classname: string): boolean { throw _abstract(); }
setStyle(element, stylename: string, stylevalue: string) { throw _abstract(); }
removeStyle(element, stylename: string) { throw _abstract(); }
getStyle(element, stylename: string) { throw _abstract(); }
getStyle(element, stylename: string): string { throw _abstract(); }
tagName(element): string { throw _abstract(); }
attributeMap(element): Map<string, string> { throw _abstract(); }
hasAttribute(element, attribute: string): boolean { throw _abstract(); }
@ -91,8 +101,8 @@ export class DomAdapter {
setAttribute(element, name: string, value: string) { throw _abstract(); }
removeAttribute(element, attribute: string) { throw _abstract(); }
templateAwareRoot(el) { throw _abstract(); }
createHtmlDocument() { throw _abstract(); }
defaultDoc(): any { throw _abstract(); }
createHtmlDocument(): /*(#2770) HTMLDocument*/ any { throw _abstract(); }
defaultDoc(): /*(#2770) HTMLDocument*/ any { throw _abstract(); }
getBoundingClientRect(el) { throw _abstract(); }
getTitle(): string { throw _abstract(); }
setTitle(newTitle: string) { throw _abstract(); }
@ -115,8 +125,8 @@ export class DomAdapter {
supportsDOMEvents(): boolean { throw _abstract(); }
supportsNativeShadowDOM(): boolean { throw _abstract(); }
getGlobalEventTarget(target: string): any { throw _abstract(); }
getHistory(): any { throw _abstract(); }
getLocation(): any { throw _abstract(); }
getHistory(): /*(#2770) History*/ any { throw _abstract(); }
getLocation(): /*(#2770) Location*/ any { throw _abstract(); }
getBaseHref(): string { throw _abstract(); }
getUserAgent(): string { throw _abstract(); }
setData(element, name: string, value: string) { throw _abstract(); }