Merge branch 'master' into rename-repo-url

This commit is contained in:
vvakame
2016-03-17 21:06:54 +09:00
1140 changed files with 179704 additions and 179635 deletions

View File

@@ -47,13 +47,13 @@ interface HandlebarsRuntimeStatic extends HandlebarsCommon {
templates: HandlebarsTemplates;
}
declare module hbs {
declare namespace hbs {
class SafeString {
constructor(str: string);
static toString(): string;
}
module Utils {
namespace Utils {
function escapeExpression(str: string): string;
}
}
@@ -70,8 +70,8 @@ interface Logger {
log(level: number, obj: string): void;
}
declare module hbs {
module AST {
declare namespace hbs {
namespace AST {
interface IStripInfo {
left?: boolean;
right?: boolean;

View File

@@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module Handlebars {
declare namespace Handlebars {
export function registerHelper(name: string, fn: Function, inverse?: boolean): void;
export function registerHelper(name: Object): void;
export function registerPartial(name: string, str: any): void;
@@ -81,13 +81,13 @@ interface HandlebarsTemplates {
[index: string]: HandlebarsTemplateDelegate;
}
declare module hbs {
declare namespace hbs {
class SafeString {
constructor(str: string);
static toString(): string;
}
module Utils {
namespace Utils {
function escapeExpression(str: string): string;
}
}
@@ -104,8 +104,8 @@ interface Logger {
log(level: number, obj: string): void;
}
declare module hbs {
module AST {
declare namespace hbs {
namespace AST {
interface Node {
type: string;
loc: SourceLocation;