diff --git a/src/app/app.ts b/src/app/app.ts
index cb9d4e3928..3572428534 100644
--- a/src/app/app.ts
+++ b/src/app/app.ts
@@ -1,5 +1,3 @@
-///
-
/*
* Angular 2 decorators and services
*/
diff --git a/src/typings/_custom.d.ts b/src/typings/_custom.d.ts
index 4be1cddc30..9f21b263db 100644
--- a/src/typings/_custom.d.ts
+++ b/src/typings/_custom.d.ts
@@ -2,11 +2,4 @@
* Our custom types
*/
///
-///
///
-
-
-/*
- * tsd generated types
- */
-///
diff --git a/src/typings/ng2.d.ts b/src/typings/ng2.d.ts
deleted file mode 100644
index 8a269d2e4b..0000000000
--- a/src/typings/ng2.d.ts
+++ /dev/null
@@ -1,1056 +0,0 @@
-// declare var zone: any;
-// declare var Zone: any;
-interface Type extends Function {
- new (...args: any[]): any;
-}
-
-
-declare module "angular2/src/core/dom/dom_adapter" {
- class DOM {
- static defaultDoc(): any;
- }
-}
-
-// declare module "angular2/router" {
-// var ROUTER_BINDINGS: any;
-// var ROUTER_DIRECTIVES: any;
-// var RouteConfig: any;
-// class Router {
-// }
-
-// class Route {
-// new (config: any): any;
-// constructor(config: any);
-// }
-// class AuxRoute {
-// new (config: any): any;
-// constructor(config: any);
-// }
-// class AsyncRoute {
-// new (config: any): any;
-// constructor(config: any);
-// }
-// class Redirect {
-// new (config: any): any;
-// constructor(config: any);
-// }
-// }
-
-declare module "angular2/tools" {
- function enableDebugTools(appRef: any): any;
-}
-
-declare module "angular2/debug" {
- var ELEMENT_PROBE_BINDINGS: any;
- class DebugElementViewListener {
-
- }
- function inspectNativeElement(element: any): any;
-}
-
-declare module "angular2/test" {
- class TestComponentBuilder {}
- class AsyncTestCompleter {}
- class DebugElement {}
- class By {}
- function inject(args: any): any;
- var browser: any;
- var $: any;
- function clickAll(buttonSelectors: any): void;
- function verifyNoBrowserErrors(): void;
-}
-
-declare module "angular2/pipes" {
- class ObservablePipe {
- constructor(ref?: any);
- _subscription: any;
- _observable: any;
- _updateLatestValue(value: any): any;
- _subscribe(obs: any): any;
- transform(obs: any, args?: Array): any;
- onDestroy(): void;
- }
- class AsyncPipe {}
-}
-
-declare module "angular2/annotations" {
- var Component: any;
- var View: any;
- var Directive: any;
- var Query: any;
-}
-
-declare module "angular2/http" {
- class Http {
- _backend: any;
- _defaultOptions: any;
- constructor(_backend?: any, _defaultOptions?: any);
- request(url: string, options?: any): any;
- get(url: string, options?: any): any;
- post(url: string, body: any, options?: any): any;
- put(url: string, body: any, options?: any): any;
- delete(url: string, options?: any): any;
- patch(url: string, body: any, options?: any): any;
- head(url: string, options?: any): any;
- }
- class HttpFactory {}
- class MockBackend {
- constructor(req: any);
- }
- class Headers {
- constructor(config: any);
- }
- class XHRBackend {}
- class BaseRequestOptions {}
- var httpInjectables: Array;
-}
-
-declare module "angular2/src/core/life_cycle/life_cycle" {
- class LifeCycle {
- constructor(...args);
- tick(): any;
- }
-}
-
-declare module "angular2/src/render/dom/compiler/view_loader" {
- class ViewLoader {}
-}
-
-declare module "angular2/src/render/dom/compiler/style_url_resolver" {
- class StyleUrlResolver {}
-}
-
-declare module "angular2/src/render/dom/compiler/style_inliner" {
- class StyleInliner {}
-}
-
-declare module "angular2/src/core/compiler/view_resolver" {
- class ViewResolver {
- resolve(appComponent: any): any;
- }
-}
-
-declare module "angular2/src/services/app_root_url" {
- class AppRootUrl {}
-}
-
-declare module "angular2/src/http/backends/browser_xhr" {
- class BrowserXHR {}
-}
-
-declare module "angular2/src/core/compiler/view_listener" {
- class AppViewListener {}
-}
-
-declare module "angular2/src/render/dom/compiler/template_loader" {
- class TemplateLoader {
-
- }
-}
-
-declare module "angular2/src/core/compiler/template_resolver" {
- class TemplateResolver {
-
- }
-}
-
-declare module "angular2/src/render/xhr_impl" {
- class XHRImpl {}
-}
-
-declare module "angular2/src/services/xhr_impl" {
- class XHRImpl {
-
- }
-}
-
-declare module "angular2/src/render/dom/events/key_events" {
- class KeyEventsPlugin {
- static getEventFullKey: any
- getEventFullKey: any
- }
-}
-declare module "angular2/src/render/dom/events/hammer_gestures" {
- class HammerGesturesPlugin {
-
- }
-}
-declare module "angular2/src/core/compiler/component_url_mapper" {
- class ComponentUrlMapper {
-
- }
-}
-declare module "angular2/src/services/url_resolver" {
- class UrlResolver {
-
- }
-
-}
-declare module "angular2/src/render/dom/shadow_dom/style_inliner" {
- class StyleInliner{}
-
-}
-declare module "angular2/src/core/compiler/dynamic_component_loader" {
- class ComponentRef {
- constructor(newLocation: any, component: any, dispose: any);
- location: any
- instance: any
- dispose: any
- }
- class DynamicComponentLoader {
- loadAsRoot(appComponentType: any, bindings: any, injector: any): any;
- }
-}
-declare module "angular2/src/core/testability/testability" {
- class TestabilityRegistry {
-
- }
- class Testability {
-
- }
-}
-declare module "angular2/src/core/compiler/view_pool" {
- class AppViewPool {
-
- }
- var APP_VIEW_POOL_CAPACITY: any
-}
-declare module "angular2/src/core/compiler/view_manager" {
- class AppViewManager {
-
- }
-
-}
-declare module "angular2/src/core/compiler/view_manager_utils" {
- class AppViewManagerUtils {
-
- }
-}
-declare module "angular2/src/core/compiler/proto_view_factory" {
- class ProtoViewFactory {
-
- }
-}
-declare module "angular2/src/render/dom/compiler/compiler" {
- class DefaultDomCompiler {
-
- }
-}
-declare module "angular2/src/core/compiler/view_ref" {
- var internalView:any
-}
-
-declare module "angular2/src/reflection/reflection" {
- var reflector:any
- class Reflector {
-
- }
-}
-declare module "angular2/src/reflection/reflection_capabilities" {
- class ReflectionCapabilities {
-
- }
-}
-
-declare module "angular2/src/render/dom/view/proto_view" {
- class DomProtoView {
- rootBindingOffset: any;
- element: any;
- isTemplateElement(): any;
- elementBinders(): any;
- }
-
-}
-
-declare module "angular2/src/render/dom/view/view_container" {
- class DomViewContainer{}
-}
-
-declare module "angular2/src/render/dom/util" {
- var NG_BINDING_CLASS_SELECTOR: any;
- var NG_BINDING_CLASS: any ;
-}
-
-
-declare module "angular2/src/render/dom/dom_renderer" {
- class DomRenderer {
- _moveViewNodesIntoParent(): any;
- _createGlobalEventListener(): any;
- _createEventListener(): any;
- }
- var DOCUMENT_TOKEN: any;
-}
-
-declare module "angular2/src/render/api" {
- class RenderCompiler {
-
- }
- class Renderer {
-
- }
- class RenderViewRef {
-
- }
- class RenderProtoViewRef {
-
- }
-
-}
-declare module "angular2/src/render/dom/shadow_dom/content_tag" {
- function Content(element: any, contentTagSelector:any): void;
-}
-declare module "angular2/src/render/dom/view/view" {
- class DomViewRef {
-
- }
- class DomView {
- viewContainers(): any;
- }
- function resolveInternalDomView(viewRef: any): any;
-}
-declare module "angular2/src/render/dom/shadow_dom/shadow_dom_strategy" {
- class ShadowDomStrategy {
- prepareShadowRoot(element: any): any;
- constructLightDom(lightDomView: any, el: any): any;
- }
-}
-
-declare module "angular2/src/render/dom/events/event_manager" {
- class EventManager {
- constructor(...args);
- addEventListener(element: any, eventName: string, handler: Function): any;
- addGlobalEventListener(target: string, eventName: string, handler: Function): any;
- }
- class DomEventsPlugin {
-
- }
-}
-
-declare module "zone.js" {
- var zone: any;
- var Zone: any;
-}
-
-declare module "rtts_assert/rtts_assert" {
- var assert: any;
-}
-
-declare module "angular2/directives" {
- class NgSwitch {}
- class NgSwitchWhen {}
- class NgSwitchDefault {}
- class NgNonBindable {}
- class NgIf {}
- class NgFor {}
- class CSSClass {}
-
- var formDirectives: any;
- var coreDirectives: any;
-
-}
-
-declare module "angular2/src/change_detection/pipes/pipe" {
- class PipeFactory {
- }
-}
-
-declare module "angular2/src/change_detection/change_detection" {
- var async: any;
-}
-
-declare module "angular2/change_detection" {
- interface PipeFactory {}
- interface Pipe {
- supports(obj: any): boolean;
- onDestroy(): void;
- transform(value: any, args: Array): any;
- }
- class Pipes {
- static extend(pipes: any);
- }
- class NullPipeFactory {}
- class PipeRegistry {
- constructor(pipes: any);
- }
- class WrappedValue {
- static wrap(...args): any;
- }
- class ChangeDetectorRef {
- requestCheck(): void;
- }
- class ObservablePipe implements Pipe {
- constructor(ref: any);
- _subscription: any;
- _observable: any;
- _updateLatestValue(value: any): any;
- _subscribe(obs: any): void;
-
- _latestValue: any;
- _latestReturnedValue: any;
-
- _dispose(): void;
-
- supports(obj: any): boolean;
- onDestroy(): void;
- transform(value: any, args: Array): any;
- }
- var defaultPipeRegistry: any;
- var defaultPipes: any;
- class Parser {
-
- }
- class Lexer {
-
- }
- class ChangeDetection {
-
- }
- class DynamicChangeDetection {
-
- }
- class PreGeneratedChangeDetection {
- static isSupported(): boolean;
- }
- class JitChangeDetection {
- static isSupported(): boolean;
- }
-}
-
-declare module "angular2/src/core/zone/ng_zone" {
- class NgZone {
- constructor(config: any);
- initCallbacks(config: any): any;
- runOutsideAngular(context: any): any;
- run(context: any): any;
- }
-}
-
-
-declare module "angular2/src/core/compiler/element_ref" {
- class ElementRef {
- constructor(host: any, location?: any);
- nativeElement: any;
- }
-}
-
-declare module "angular2/src/core/exception_handler" {
- class ExceptionHandler {
-
- }
-}
-
-declare module "angular2/src/render/xhr" {
- class XHR {
-
- }
-}
-
-declare module "angular2/src/core/application_tokens" {
- var appComponentRefToken: any;
- var appComponentTypeToken: any;
-}
-
-declare module "angular2/src/core/compiler/compiler" {
- class Compiler {
-
- }
- class CompilerCache {
-
- }
-}
-
-declare module "angular2/forms" {
- var formDirectives: any;
- var formInjectables: any;
- class FormBuilder {
- group(config: any): any;
- array(): any;
- }
- class Validators {
- static required(): any;
- }
- class ControlGroup {
- value: any
- controls: any
- include(): any;
- exclude(): any;
- }
- class Control {
- valueChanges(): any;
- }
- class ControlArray {
- push(): any;
- removeAt(): any;
- }
-
- class NgControlName {
-
- }
- class NgControlGroup {
-
- }
- class NgFormControl {
-
- }
- class NgModel {
-
- }
- class NgFormModel {
-
- }
- class NgForm {
-
- }
- class NgSelectOption {
-
- }
- class NgRequiredValidator {
-
- }
- class NgControl {
- control: any;
- valueAccessor: any;
- }
-
-}
-
-declare module "angular2/src/render/dom/shadow_dom/emulated_unscoped_shadow_dom_strategy" {
- class EmulatedUnscopedShadowDomStrategy {
- styleHost: any;
- constructor(styleHost: any);
- hasNativeContentElement(): boolean;
- prepareShadowRoot(el: any): any;
- constructLightDom(lightDomView: any, el: any): any;
- processStyleElement(hostComponentId: string, templateUrl: string, styleEl: any): void;
-
- }
-}
-
-declare module "angular2/core" {
- class ElementRef {
- constructor(host: any, location?: any);
- nativeElement: any;
- }
- class QueryList {
- onChange(callback: any): void;
- }
- class DirectiveResolver {
- resolve(appComponent: any): any;
- }
-}
-
-declare module "angular2/render" {
- class ShadowDomStrategy {
- hasNativeContentElement(): boolean;
- prepareShadowRoot(el: any): any;
- constructLightDom(lightDomView: any, el: any): any;
- processStyleElement(hostComponentId: string, templateUrl: string, styleElement: any): void;
- processElement(hostComponentId: string, elementComponentId: string, element: any): void;
- }
- class NativeShadowDomStrategy extends ShadowDomStrategy {
- prepareShadowRoot(el: any): any;
- }
- class EmulatedUnscopedShadowDomStrategy extends ShadowDomStrategy {
- styleHost: any;
- constructor(styleHost: any);
- hasNativeContentElement(): boolean;
- prepareShadowRoot(el: any): any;
- constructLightDom(lightDomView: any, el: any): any;
- processStyleElement(hostComponentId: string, templateUrl: string, styleEl: any): void;
-
- }
- class EmulatedScopedShadowDomStrategy extends EmulatedUnscopedShadowDomStrategy {
- constructor(styleHost: any);
- processStyleElement(hostComponentId: string, templateUrl: string, styleEl: any): void;
- _moveToStyleHost(styleEl: any): void;
- processElement(hostComponentId: string, elementComponentId: string, element: any): void;
-
- }
- class Renderer {
-/**
- * Creates a root host view that includes the given element.
- * @param {RenderProtoViewRef} hostProtoViewRef a RenderProtoViewRef of type
- * ProtoViewDto.HOST_VIEW_TYPE
- * @param {any} hostElementSelector css selector for the host element (will be queried against the
- * main document)
- * @return {RenderViewRef} the created view
- */
- createRootHostView(hostProtoViewRef: any, hostElementSelector: string): any;
- /**
- * Creates a regular view out of the given ProtoView
- */
- createView(protoViewRef: any): any;
- /**
- * Destroys the given view after it has been dehydrated and detached
- */
- destroyView(viewRef: any): void;
- /**
- * Attaches a componentView into the given hostView at the given element
- */
- attachComponentView(location: any, componentViewRef: any): void;
- /**
- * Detaches a componentView into the given hostView at the given element
- */
- detachComponentView(location: any, componentViewRef: any): void;
- /**
- * Attaches a view into a ViewContainer (in the given parentView at the given element) at the
- * given index.
- */
- attachViewInContainer(location: any, atIndex: number, viewRef: any): void;
- /**
- * Detaches a view into a ViewContainer (in the given parentView at the given element) at the
- * given index.
- */
- detachViewInContainer(location: any, atIndex: number, viewRef: any): void;
- /**
- * Hydrates a view after it has been attached. Hydration/dehydration is used for reusing views
- * inside of the view pool.
- */
- hydrateView(viewRef: any): void;
- /**
- * Dehydrates a view after it has been attached. Hydration/dehydration is used for reusing views
- * inside of the view pool.
- */
- dehydrateView(viewRef: any): void;
- /**
- * Returns the native element at the given location.
- * Attention: In a WebWorker scenario, this should always return null!
- */
- getNativeElementSync(location: any): any;
- /**
- * Sets a property on an element.
- */
- setElementProperty(location: any, propertyName: string, propertyValue: any): void;
- /**
- * Sets an attribute on an element.
- */
- setElementAttribute(location: any, attributeName: string, attributeValue: string): void;
- /**
- * Sets a class on an element.
- */
- setElementClass(location: any, className: string, isAdd: boolean): void;
- /**
- * Sets a style on an element.
- */
- setElementStyle(location: any, styleName: string, styleValue: string): void;
- /**
- * Calls a method on an element.
- */
- invokeElementMethod(location: any, methodName: string, args: Array): void;
- /**
- * Sets the value of a text node.
- */
- setText(viewRef: any, textNodeIndex: number, text: string): void;
- /**
- * Sets the dispatcher for all events of the given view
- */
- setEventDispatcher(viewRef: any, dispatcher: any): void;
- }
-}
-
-declare module "angular2/src/render/dom/shadow_dom/style_url_resolver" {
- class StyleUrlResolver {
-
- }
-}
-
-declare module "angular2/src/facade/async" {
- class ObservableWrapper {
- static callNext(next:any): any;
- static subscribe(observer:any): any;
- }
- class Promise {
- then(pro:any): any;
- all(all:any): any;
- }
- class PromiseWrapper {
- static completer(): any;
- static all(all: any): any;
- static then(pro:any, sucess?: any, failure?: any): any;
- static wrap(pro:any): any;
- }
-}
-
-declare module "angular2/src/facade/collection" {
- var List: Array;
- var Map: any;
- var ListWrapper: any;
- var MapWrapper: any;
- var StringMapWrapper: any;
-}
-
-declare module "angular2/src/facade/browser" {
- var __esModule: boolean;
- var win: any;
- var window: any;
- var document: any;
- var location: any;
- var gc: () => void;
- var Event: any;
- var MouseEvent: any;
- var KeyboardEvent: any;
-}
-
-declare module "angular2/src/facade/lang" {
- var int: any;
- var Type: Function;
- var assertionsEnabled: any;
- function isPresent(bool: any): boolean;
- function isBlank(bool: any): boolean;
- function isString(bool: any): boolean;
- class BaseException {
-
- }
- class RegExpWrapper {
-
- }
- class NumberWrapper {
-
- }
- class StringWrapper {
- static toLowerCase(str: string): string;
- static toUpperCase(str: string): string;
- }
- function print(str: any):any;
- function stringify(str: any):any;
-}
-
-declare module "angular2/src/core/compiler/directive_resolver" {
- class DirectiveResolver {
- resolve(appComponent: any): any;
- }
-}
-
-declare module "angular2/src/router/route_registry" {
- class RouteRegistry {}
-}
-
-declare module "angular2/src/router/pipeline" {
- class Pipeline {}
-}
-
-// declare module "angular2/src/router/instruction" {
-// class Instruction {
-// component: any;
-// params: any;
-// reuse: any;
-// child: any;
-// }
-// }
-
-declare module "angular2/src/dom/browser_adapter" {
- class BrowserDomAdapter {
- static makeCurrent(): void;
- logError(error: any): void;
- attrToPropMap: any;
- query(selector: string): any;
- querySelector(el: any, selector: string): Node;
- querySelectorAll(el: any, selector: string): Array;
- on(el: any, evt: any, listener: any): void;
- onAndCancel(el: any, evt: any, listener: any): Function;
- dispatchEvent(el: any, evt: any): void;
- createMouseEvent(eventType: string): MouseEvent;
- createEvent(eventType: any): Event;
- getInnerHTML(el: any): any;
- getOuterHTML(el: any): any;
- nodeName(node: Node): string;
- nodeValue(node: Node): string;
- type(node: HTMLInputElement): string;
- content(node: Node): Node;
- firstChild(el: any): Node;
- nextSibling(el: any): Node;
- parentElement(el: any): any;
- childNodes(el: any): Array;
- childNodesAsList(el: any): Array;
- clearNodes(el: any): void;
- appendChild(el: any, node: any): void;
- removeChild(el: any, node: any): void;
- replaceChild(el: Node, newChild: any, oldChild: any): void;
- remove(el: any): any;
- insertBefore(el: any, node: any): void;
- insertAllBefore(el: any, nodes: any): void;
- insertAfter(el: any, node: any): void;
- setInnerHTML(el: any, value: any): void;
- getText(el: any): any;
- setText(el: any, value: string): void;
- getValue(el: any): any;
- setValue(el: any, value: string): void;
- getChecked(el: any): any;
- setChecked(el: any, value: boolean): void;
- createTemplate(html: any): HTMLElement;
- createElement(tagName: any, doc?: Document): HTMLElement;
- createTextNode(text: string, doc?: Document): Text;
- createScriptTag(attrName: string, attrValue: string, doc?: Document): HTMLScriptElement;
- createStyleElement(css: string, doc?: Document): HTMLStyleElement;
- createShadowRoot(el: HTMLElement): DocumentFragment;
- getShadowRoot(el: HTMLElement): DocumentFragment;
- getHost(el: HTMLElement): HTMLElement;
- clone(node: Node): Node;
- hasProperty(element: any, name: string): boolean;
- getElementsByClassName(element: any, name: string): any;
- getElementsByTagName(element: any, name: string): any;
- classList(element: any): Array;
- addClass(element: any, classname: string): void;
- removeClass(element: any, classname: string): void;
- hasClass(element: any, classname: string): any;
- setStyle(element: any, stylename: string, stylevalue: string): void;
- removeStyle(element: any, stylename: string): void;
- getStyle(element: any, stylename: string): any;
- tagName(element: any): string;
- attributeMap(element: any): any;
- hasAttribute(element: any, attribute: string): any;
- getAttribute(element: any, attribute: string): any;
- setAttribute(element: any, name: string, value: string): void;
- removeAttribute(element: any, attribute: string): any;
- templateAwareRoot(el: any): any;
- createHtmlDocument(): Document;
- defaultDoc(): Document;
- getBoundingClientRect(el: any): any;
- getTitle(): string;
- setTitle(newTitle: string): void;
- elementMatches(n: any, selector: string): boolean;
- isTemplateElement(el: any): boolean;
- isTextNode(node: Node): boolean;
- isCommentNode(node: Node): boolean;
- isElementNode(node: Node): boolean;
- hasShadowRoot(node: any): boolean;
- isShadowRoot(node: any): boolean;
- importIntoDoc(node: Node): Node;
- isPageRule(rule: any): boolean;
- isStyleRule(rule: any): boolean;
- isMediaRule(rule: any): boolean;
- isKeyframesRule(rule: any): boolean;
- getHref(el: Element): string;
- getEventKey(event: any): string;
- getGlobalEventTarget(target: string): EventTarget;
- getHistory(): History;
- getLocation(): Location;
- getBaseHref(): any;
- }
-}
-
-declare module "angular2/src/dom/dom_adapter" {
- class DomAdapter {
- static makeCurrent(): void;
- logError(error: any): void;
- attrToPropMap: any;
- query(selector: string): any;
- querySelector(el: any, selector: string): Node;
- querySelectorAll(el: any, selector: string): Array;
- on(el: any, evt: any, listener: any): void;
- onAndCancel(el: any, evt: any, listener: any): Function;
- dispatchEvent(el: any, evt: any): void;
- createMouseEvent(eventType: string): MouseEvent;
- createEvent(eventType: any): Event;
- getInnerHTML(el: any): any;
- getOuterHTML(el: any): any;
- nodeName(node: Node): string;
- nodeValue(node: Node): string;
- type(node: HTMLInputElement): string;
- content(node: Node): Node;
- firstChild(el: any): Node;
- nextSibling(el: any): Node;
- parentElement(el: any): any;
- childNodes(el: any): Array;
- childNodesAsList(el: any): Array;
- clearNodes(el: any): void;
- appendChild(el: any, node: any): void;
- removeChild(el: any, node: any): void;
- replaceChild(el: Node, newChild: any, oldChild: any): void;
- remove(el: any): any;
- insertBefore(el: any, node: any): void;
- insertAllBefore(el: any, nodes: any): void;
- insertAfter(el: any, node: any): void;
- setInnerHTML(el: any, value: any): void;
- getText(el: any): any;
- setText(el: any, value: string): void;
- getValue(el: any): any;
- setValue(el: any, value: string): void;
- getChecked(el: any): any;
- setChecked(el: any, value: boolean): void;
- createTemplate(html: any): HTMLElement;
- createElement(tagName: any, doc?: Document): HTMLElement;
- createTextNode(text: string, doc?: Document): Text;
- createScriptTag(attrName: string, attrValue: string, doc?: Document): HTMLScriptElement;
- createStyleElement(css: string, doc?: Document): HTMLStyleElement;
- createShadowRoot(el: HTMLElement): DocumentFragment;
- getShadowRoot(el: HTMLElement): DocumentFragment;
- getHost(el: HTMLElement): HTMLElement;
- clone(node: Node): Node;
- hasProperty(element: any, name: string): boolean;
- getElementsByClassName(element: any, name: string): any;
- getElementsByTagName(element: any, name: string): any;
- classList(element: any): Array;
- addClass(element: any, classname: string): void;
- removeClass(element: any, classname: string): void;
- hasClass(element: any, classname: string): any;
- setStyle(element: any, stylename: string, stylevalue: string): void;
- removeStyle(element: any, stylename: string): void;
- getStyle(element: any, stylename: string): any;
- tagName(element: any): string;
- attributeMap(element: any): any;
- hasAttribute(element: any, attribute: string): any;
- getAttribute(element: any, attribute: string): any;
- setAttribute(element: any, name: string, value: string): void;
- removeAttribute(element: any, attribute: string): any;
- templateAwareRoot(el: any): any;
- createHtmlDocument(): Document;
- defaultDoc(): Document;
- getBoundingClientRect(el: any): any;
- getTitle(): string;
- setTitle(newTitle: string): void;
- elementMatches(n: any, selector: string): boolean;
- isTemplateElement(el: any): boolean;
- isTextNode(node: Node): boolean;
- isCommentNode(node: Node): boolean;
- isElementNode(node: Node): boolean;
- hasShadowRoot(node: any): boolean;
- isShadowRoot(node: any): boolean;
- importIntoDoc(node: Node): Node;
- isPageRule(rule: any): boolean;
- isStyleRule(rule: any): boolean;
- isMediaRule(rule: any): boolean;
- isKeyframesRule(rule: any): boolean;
- getHref(el: Element): string;
- getEventKey(event: any): string;
- getGlobalEventTarget(target: string): EventTarget;
- getHistory(): History;
- getLocation(): Location;
- getBaseHref(): any;
- }
- var DOM: DomAdapter;
-}
-declare module "angular2/src/dom/parse5_adapter" {
- class Parse5DomAdapter {
- static makeCurrent(): void;
- logError(error: any): void;
- attrToPropMap: any;
- query(selector: string): any;
- querySelector(el: any, selector: string): Node;
- querySelectorAll(el: any, selector: string): Array;
- on(el: any, evt: any, listener: any): void;
- onAndCancel(el: any, evt: any, listener: any): Function;
- dispatchEvent(el: any, evt: any): void;
- createMouseEvent(eventType: string): MouseEvent;
- createEvent(eventType: any): Event;
- getInnerHTML(el: any): any;
- getOuterHTML(el: any): any;
- nodeName(node: Node): string;
- nodeValue(node: Node): string;
- type(node: HTMLInputElement): string;
- content(node: Node): Node;
- firstChild(el: any): Node;
- nextSibling(el: any): Node;
- parentElement(el: any): any;
- childNodes(el: any): Array;
- childNodesAsList(el: any): Array;
- clearNodes(el: any): void;
- appendChild(el: any, node: any): void;
- removeChild(el: any, node: any): void;
- replaceChild(el: Node, newChild: any, oldChild: any): void;
- remove(el: any): any;
- insertBefore(el: any, node: any): void;
- insertAllBefore(el: any, nodes: any): void;
- insertAfter(el: any, node: any): void;
- setInnerHTML(el: any, value: any): void;
- getText(el: any): any;
- setText(el: any, value: string): void;
- getValue(el: any): any;
- setValue(el: any, value: string): void;
- getChecked(el: any): any;
- setChecked(el: any, value: boolean): void;
- createTemplate(html: any): HTMLElement;
- createElement(tagName: any, doc?: Document): HTMLElement;
- createTextNode(text: string, doc?: Document): Text;
- createScriptTag(attrName: string, attrValue: string, doc?: Document): HTMLScriptElement;
- createStyleElement(css: string, doc?: Document): HTMLStyleElement;
- createShadowRoot(el: HTMLElement): DocumentFragment;
- getShadowRoot(el: HTMLElement): DocumentFragment;
- getHost(el: HTMLElement): HTMLElement;
- clone(node: Node): Node;
- hasProperty(element: any, name: string): boolean;
- getElementsByClassName(element: any, name: string): any;
- getElementsByTagName(element: any, name: string): any;
- classList(element: any): Array;
- addClass(element: any, classname: string): void;
- removeClass(element: any, classname: string): void;
- hasClass(element: any, classname: string): any;
- setStyle(element: any, stylename: string, stylevalue: string): void;
- removeStyle(element: any, stylename: string): void;
- getStyle(element: any, stylename: string): any;
- tagName(element: any): string;
- attributeMap(element: any): any;
- hasAttribute(element: any, attribute: string): any;
- getAttribute(element: any, attribute: string): any;
- setAttribute(element: any, name: string, value: string): void;
- removeAttribute(element: any, attribute: string): any;
- templateAwareRoot(el: any): any;
- createHtmlDocument(): Document;
- defaultDoc(): Document;
- getBoundingClientRect(el: any): any;
- getTitle(): string;
- setTitle(newTitle: string): void;
- elementMatches(n: any, selector: string): boolean;
- isTemplateElement(el: any): boolean;
- isTextNode(node: Node): boolean;
- isCommentNode(node: Node): boolean;
- isElementNode(node: Node): boolean;
- hasShadowRoot(node: any): boolean;
- isShadowRoot(node: any): boolean;
- importIntoDoc(node: Node): Node;
- isPageRule(rule: any): boolean;
- isStyleRule(rule: any): boolean;
- isMediaRule(rule: any): boolean;
- isKeyframesRule(rule: any): boolean;
- getHref(el: Element): string;
- getEventKey(event: any): string;
- getGlobalEventTarget(target: string): EventTarget;
- getHistory(): History;
- getLocation(): Location;
- getBaseHref(): any;
- }
-}
-
-
-
-declare module "angular2/src/di/binding" {
- class Binding {
-
- }
-}
-
-declare module "angular2/di" {
- class Binding {}
- function bind(token: any): any;
- class Injector {
- resolveAndCreateChild(bindings: [any]): Injector;
- static resolveAndCreate(bindings: any): any;
- static fromResolvedBindings(bindings: any): any;
- asyncGet(di: any):any;
- get(di: any):any;
- }
- var Inject: any;
- var Injectable: any;
- var Dependency: any;
- var Optional: any;
-
- var ResolvedBinding: any;
- var Key: any;
- var KeyRegistry: any;
- var TypeLiteral: any;
- var NoBindingError: any;
- var AbstractBindingError: any;
- var AsyncBindingError: any;
- var CyclicDependencyError: any;
- var InstantiationError: any;
- var InvalidBindingError: any;
- var NoAnnotationError: any;
- var OpaqueToken: any;
- var ___esModule: any;
- var InjectAnnotation: any;
- var InjectPromiseAnnotation: any;
- var InjectLazyAnnotation: any;
- var OptionalAnnotation: any;
- var InjectableAnnotation: any;
- var DependencyAnnotation: any;
-}
diff --git a/tsconfig.json b/tsconfig.json
index 54d2f9626a..e83a8288d1 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,5 +1,5 @@
{
- "version": "1.6.0",
+ "version": "1.6.2",
"compilerOptions": {
"target": "es5",
"module": "commonjs",
@@ -10,12 +10,10 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"sourceMap": true,
- "listFiles": true,
+ "listFiles": false,
"outDir": "dist"
},
"files": [
- "src/typings/_custom.d.ts",
- "src/app/app.ts",
"src/app/bootstrap.ts"
]
}
diff --git a/tsd.json b/tsd.json
deleted file mode 100644
index 52e448804a..0000000000
--- a/tsd.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "version": "v4",
- "repo": "borisyankov/DefinitelyTyped",
- "ref": "master",
- "path": "tsd_typings",
- "bundle": "tsd_typings/tsd.d.ts",
- "installed": {
- "rx/rx.d.ts": {
- "commit": "f6c8ca47193fb67947944a3170912672ac3e908e"
- },
- "rx/rx-lite.d.ts": {
- "commit": "f6c8ca47193fb67947944a3170912672ac3e908e"
- }
- }
-}
diff --git a/webpack.config.js b/webpack.config.js
index 62708da7f4..0fbe9ff664 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -119,7 +119,7 @@ module.exports = {
query: {
'ignoreDiagnostics': [
// 2300, // 2300 -> Duplicate identifier
- 2309 // 2309 -> An export assignment cannot be used in a module with other exported elements.
+ // 2309 // 2309 -> An export assignment cannot be used in a module with other exported elements.
]
},
exclude: [