ant-design/components/tree-select
Kasra Bigdeli 4e116962f2 Updating type: TreeSelectProps.getPopupContainer (#14443)
TreeSelectProps extends AbstractSelectProps. However, the method signatures are different causing compilation issue with typescript:


```
Failed to compile.

/home/kasra/Desktop/Repos/frontend/node_modules/antd/lib/tree-select/interface.d.ts
Type error: Interface 'TreeSelectProps' incorrectly extends interface 'AbstractSelectProps'.
  Types of property 'getPopupContainer' are incompatible.
    Type '((triggerNode: Element) => HTMLElement) | undefined' is not assignable to type '((triggerNode?: Element | undefined) => HTMLElement) | undefined'.
      Type '(triggerNode: Element) => HTMLElement' is not assignable to type '(triggerNode?: Element | undefined) => HTMLElement'.
        Types of parameters 'triggerNode' and 'triggerNode' are incompatible.
          Type 'Element | undefined' is not assignable to type 'Element'.
            Type 'undefined' is not assignable to type 'Element'.  TS2430

    24 |     rootPId?: string;
    25 | }
  > 26 | export interface TreeSelectProps extends AbstractSelectProps {
       |                  ^
    27 |     autoFocus?: boolean;
    28 |     defaultValue?: string | number | Array<any>;
```
2019-01-21 17:14:02 +08:00
..
__tests__ add suffix icon to tree-select 2018-09-21 13:40:27 +08:00
demo treeselect: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
style merge support prettier 2018-12-07 20:02:01 +08:00
index.en-US.md Add remark lint (#13906) 2018-12-26 14:14:00 +08:00
index.tsx New Component: Empty (#13651) 2018-12-26 16:01:00 +08:00
index.zh-CN.md Add remark lint (#13906) 2018-12-26 14:14:00 +08:00
interface.tsx Updating type: TreeSelectProps.getPopupContainer (#14443) 2019-01-21 17:14:02 +08:00