Skip to content

Commit

Permalink
chore: fix allowSyntheticDefaultImports define
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Aug 31, 2020
1 parent c735911 commit 4924321
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Context.tsx
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import { IconType } from 'rc-tree/lib/interface';
import { Key, LegacyDataNode } from './interface';

Expand Down
2 changes: 1 addition & 1 deletion src/OptionList.tsx
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import KeyCode from 'rc-util/lib/KeyCode';
import useMemo from 'rc-util/lib/hooks/useMemo';
import { RefOptionListProps } from 'rc-select/lib/OptionList';
Expand Down
2 changes: 1 addition & 1 deletion src/TreeNode.tsx
@@ -1,5 +1,5 @@
/* istanbul ignore file */
import React from 'react';
import * as React from 'react';
import { DataNode, Key } from './interface';

export interface TreeNodeProps extends Omit<DataNode, 'children'> {
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useKeyValueMap.ts
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import { FlattenDataNode, Key, RawValueType } from '../interface';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useKeyValueMapping.ts
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import { FlattenDataNode, Key, RawValueType } from '../interface';

export type SkipType = null | 'select' | 'checkbox';
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useSelectValues.ts
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import { DefaultValueType } from 'rc-select/lib/interface/generator';
import { DataEntity } from 'rc-tree/lib/interface';
import { RawValueType, FlattenDataNode, Key, LabelValueType, DataNode } from '../interface';
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useTreeData.ts
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import warning from 'rc-util/lib/warning';
import {
DataNode,
Expand Down
2 changes: 1 addition & 1 deletion src/interface.ts
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';

export type SelectSource = 'option' | 'selection' | 'input' | 'clear';

Expand Down
2 changes: 1 addition & 1 deletion src/utils/legacyUtil.tsx
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';
import toArray from 'rc-util/lib/Children/toArray';
import warning from 'rc-util/lib/warning';
import {
Expand Down

0 comments on commit 4924321

Please sign in to comment.