mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-17 22:44:18 +08:00
clean-up of test file
This commit is contained in:
@@ -30,8 +30,7 @@ module I18nDirect {
|
||||
export interface Props extends IntlComponent.Props {}
|
||||
}
|
||||
|
||||
@reactMixin.decorate( IntlMixin )
|
||||
class I18nDirect extends React.Component<I18nDirect.Props, any> { //implements IntlComponent {
|
||||
class I18nDirect extends React.Component<I18nDirect.Props, any> {
|
||||
|
||||
private _currentLocale: string
|
||||
private _messages: {[key: string]: string}
|
||||
@@ -40,9 +39,6 @@ class I18nDirect extends React.Component<I18nDirect.Props, any> { //implements I
|
||||
super( props )
|
||||
}
|
||||
|
||||
//Mixin
|
||||
//getIntlMessage: (key: string) => string = this['getIntlMessage']
|
||||
|
||||
|
||||
render() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user