mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
renew typescript typings
This commit is contained in:
parent
064bfaf554
commit
287d08890a
@ -1,14 +1,16 @@
|
||||
import CalendarLocale from 'rc-calendar/lib/locale/th_TH';
|
||||
import TimePickerLocale from '../../time-picker/locale/th_TH';
|
||||
import assign from 'object-assign';
|
||||
|
||||
// Merge into a locale object
|
||||
const locale = {
|
||||
lang: assign({
|
||||
lang: {
|
||||
placeholder: 'เลือกวันที่',
|
||||
rangePlaceholder: ['วันเริ่มต้น', 'วันสิ้นสุด'],
|
||||
}, CalendarLocale),
|
||||
timePickerLocale: assign({}, TimePickerLocale),
|
||||
...CalendarLocale,
|
||||
},
|
||||
timePickerLocale: {
|
||||
...TimePickerLocale,
|
||||
},
|
||||
};
|
||||
|
||||
// All settings at:
|
||||
|
@ -94,6 +94,7 @@
|
||||
"@types/prop-types": "^15.5.4",
|
||||
"@types/react": "^16.0.0",
|
||||
"@types/react-dom": "^16.0.0",
|
||||
"@types/react-slick": "^0.23.2",
|
||||
"@yesmeck/offline-plugin": "^5.0.5",
|
||||
"ansi-styles": "^3.2.0",
|
||||
"ant-design-palettes": "^1.0.0",
|
||||
|
4
typings/custom-typings.d.ts
vendored
4
typings/custom-typings.d.ts
vendored
@ -6,8 +6,6 @@ declare module 'rc-time-picker*';
|
||||
|
||||
declare module 'rc-pagination*';
|
||||
|
||||
declare module "object-assign";
|
||||
|
||||
declare module "omit.js";
|
||||
|
||||
declare module 'rc-animate';
|
||||
@ -22,8 +20,6 @@ declare module 'css-animation';
|
||||
|
||||
declare module 'rc-select';
|
||||
|
||||
declare module 'react-slick';
|
||||
|
||||
declare module 'rc-cascader';
|
||||
|
||||
declare module 'array-tree-filter';
|
||||
|
Loading…
Reference in New Issue
Block a user