This commit is contained in:
ztplz 2019-01-12 22:19:38 +08:00 committed by 偏右
parent ab2dd31087
commit 0b8fadd24c
4 changed files with 4 additions and 3 deletions

View File

@ -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 => {

View File

@ -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';

View File

@ -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';

View File

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