{% extends '../type-definition.template.html' %}
{% block staticDeclarations %}

interface Map<K,V> {}
interface StringMap<K,V> extends Map<K,V> {}

{% for alias, module in doc.moduleDocs %}
declare module {$ module.namespace $} {
  // See https://github.com/Microsoft/TypeScript/issues/1168
  class BaseException /* extends Error */ {
    message: string;
    stack: string;
    toString(): string;
  }
  interface InjectableReference {}
}
{% endfor %}
{% endblock %}
