Browse Source

Update

pull/14309/head
ztplz 6 years ago
committed by 偏右
parent
commit
0b8fadd24c
  1. 2
      components/_util/warning.tsx
  2. 2
      components/drawer/index.tsx
  3. 2
      components/select/index.tsx
  4. 1
      tsconfig.json

2
components/_util/warning.tsx

@ -1,4 +1,4 @@
import * as warning from 'warning';
import warning from 'warning';
const warned: Record<string, boolean> = {};
export default (valid: boolean, message: string): void => {

2
components/drawer/index.tsx

@ -2,7 +2,7 @@ import * as React from 'react';
import * as PropTypes from 'prop-types';
import RcDrawer from 'rc-drawer';
import createReactContext, { Context } from 'create-react-context';
import * as warning from 'warning';
import warning from '../_util/warning';
import classNames from 'classnames';
import Icon from '../icon';
import { withConfigConsumer, ConfigConsumerProps } from '../config-provider';

2
components/select/index.tsx

@ -4,7 +4,7 @@ import RcSelect, { Option, OptGroup } from 'rc-select';
import classNames from 'classnames';
import { ConfigConsumer, ConfigConsumerProps, RenderEmptyHandler } from '../config-provider';
import omit from 'omit.js';
import * as warning from 'warning';
import warning from '../_util/warning';
import Icon from '../icon';
import { tuple } from '../_util/type';

1
tsconfig.json

@ -2,6 +2,7 @@
"compilerOptions": {
"strictNullChecks": true,
"moduleResolution": "node",
"esModuleInterop": true,
"experimentalDecorators": true,
"jsx": "preserve",
"noUnusedParameters": true,

Loading…
Cancel
Save