mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 00:18:20 +08:00
Update react-intl locale data location (#8945)
This commit is contained in:
committed by
Masahiro Wakame
parent
88736ffa1d
commit
7e656a65e7
@@ -26,7 +26,7 @@ FormattedPlural,
|
||||
FormattedDate,
|
||||
FormattedTime
|
||||
} from "react-intl"
|
||||
import reactIntlEn = require("react-intl/lib/locale-data/en");
|
||||
import reactIntlEn = require("react-intl/locale-data/en");
|
||||
|
||||
addLocaleData(reactIntlEn);
|
||||
console.log(hasLocaleData("en"));
|
||||
@@ -165,4 +165,4 @@ class TestApp extends React.Component<{}, {}> {
|
||||
export default {
|
||||
TestApp,
|
||||
SomeComponent: injectIntl(SomeComponent)
|
||||
}
|
||||
}
|
||||
|
||||
1164
react-intl/react-intl.d.ts
vendored
1164
react-intl/react-intl.d.ts
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user