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
+8 -8
View File
@@ -9,7 +9,7 @@ declare module "react-intl" {
import * as React from 'react'
module ReactIntl {
namespace ReactIntl {
interface IIntlMixin extends React.Mixin<any,any> {
@@ -18,7 +18,7 @@ declare module "react-intl" {
var IntlMixin: IIntlMixin
module IntlComponent {
namespace IntlComponent {
interface Props {
locales?: string[]
messages?: {[key: string]: any}
@@ -30,7 +30,7 @@ declare module "react-intl" {
}
module FormattedDate {
namespace FormattedDate {
export interface Props extends IntlComponent.Props {
value: Date
day?: string
@@ -41,7 +41,7 @@ declare module "react-intl" {
class FormattedDate extends React.Component<FormattedDate.Props,any> {}
module FormattedTime {
namespace FormattedTime {
export interface Props extends IntlComponent.Props {
value: Date
day?: string
@@ -53,7 +53,7 @@ declare module "react-intl" {
class FormattedTime extends React.Component<FormattedTime.Props,any> {}
module FormattedRelative {
namespace FormattedRelative {
export interface Props extends IntlComponent.Props {
value: number
units?: string //"second", "minute", "hour", "day", "month" or "year"
@@ -64,7 +64,7 @@ declare module "react-intl" {
class FormattedRelative extends React.Component<FormattedRelative.Props,any> {}
module FormattedMessage {
namespace FormattedMessage {
export interface Props extends IntlComponent.Props {
message: string;
[prop: string]: any
@@ -73,7 +73,7 @@ declare module "react-intl" {
class FormattedMessage extends React.Component<FormattedMessage.Props,any> {}
module FormattedHTMLMessage {
namespace FormattedHTMLMessage {
export interface Props extends IntlComponent.Props {
message: string;
[prop: string]: any
@@ -82,7 +82,7 @@ declare module "react-intl" {
class FormattedHTMLMessage extends React.Component<FormattedHTMLMessage.Props,any> {}
module FormattedNumber {
namespace FormattedNumber {
export interface Props extends IntlComponent.Props {
value: number
style?: string
+2 -2
View File
@@ -30,7 +30,7 @@ const MESSAGES: {[key: string] : { [lang: string]: string }} = {
}
module I18nDirect {
namespace I18nDirect {
export interface Props extends IntlComponent.Props {}
}
@@ -100,7 +100,7 @@ class I18nDirect extends React.Component<I18nDirect.Props, any> {
////////////////////////////////////////////////////////////////////////////
module I18nMixin {
namespace I18nMixin {
export interface Props extends IntlComponent.Props {}
}
+9 -9
View File
@@ -5,7 +5,7 @@
///<reference path='../react/react.d.ts' />
declare module ReactIntl {
declare namespace ReactIntl {
import React = __React;
interface Locale {
@@ -46,7 +46,7 @@ declare module ReactIntl {
formatHTMLMessage?: (messageDescriptor: FormattedMessage.MessageDescriptor, values?: Object) => string;
}
module IntlComponent {
namespace IntlComponent {
interface DateTimeFormatProps {
/*
* one of "best fit" (default) | "lookup"
@@ -98,7 +98,7 @@ declare module ReactIntl {
}
module FormattedDate {
namespace FormattedDate {
export interface PropsBase extends IntlComponent.DateTimeFormatProps {
format?: string;
}
@@ -110,7 +110,7 @@ declare module ReactIntl {
class FormattedDate extends React.Component<FormattedDate.Props, any> { }
module FormattedTime {
namespace FormattedTime {
export interface PropsBase extends IntlComponent.DateTimeFormatProps {
format?: string;
}
@@ -122,7 +122,7 @@ declare module ReactIntl {
class FormattedTime extends React.Component<FormattedTime.Props, any> { }
module FormattedRelative {
namespace FormattedRelative {
export interface PropsBase {
/*
* one of "second", "minute", "hour", "day", "month" or "year"
@@ -144,7 +144,7 @@ declare module ReactIntl {
class FormattedRelative extends React.Component<FormattedRelative.Props, any> { }
module FormattedMessage {
namespace FormattedMessage {
export interface MessageDescriptor {
id: string;
description?: string;
@@ -162,7 +162,7 @@ declare module ReactIntl {
class FormattedHTMLMessage extends React.Component<FormattedMessage.Props, any> { }
module FormattedNumber {
namespace FormattedNumber {
export interface PropsBase {
format?: string;
/*
@@ -193,7 +193,7 @@ declare module ReactIntl {
class FormattedNumber extends React.Component<FormattedNumber.Props, any> { }
module FormattedPlural {
namespace FormattedPlural {
export interface PropsBase {
/*
* one of "cardinal" (default) | "ordinal"
@@ -214,7 +214,7 @@ declare module ReactIntl {
class FormattedPlural extends React.Component<FormattedPlural.Props, any> { }
module IntlProvider {
namespace IntlProvider {
export interface Props {
locale?: string;
formats?: Object;