Browse Source

chore: update ts config (#36000)

pull/36008/head
二货机器人 2 years ago
committed by GitHub
parent
commit
c7aa754efe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      components/auto-complete/__tests__/index.test.js
  2. 4
      tsconfig.json

4
components/auto-complete/__tests__/index.test.js

@ -1,9 +1,9 @@
import React from 'react';
import { render, fireEvent } from '../../../tests/utils';
import AutoComplete from '..';
import Input from '../../input';
import mountTest from '../../../tests/shared/mountTest';
import rtlTest from '../../../tests/shared/rtlTest';
import { fireEvent, render } from '../../../tests/utils';
import Input from '../../input';
describe('AutoComplete', () => {
mountTest(AutoComplete);

4
tsconfig.json

@ -10,7 +10,9 @@
"moduleResolution": "node",
"esModuleInterop": true,
"experimentalDecorators": true,
"jsx": "preserve",
"jsx": "react",
"jsxFactory": "React.createElement",
"jsxFragmentFactory": "React.Fragment",
"noUnusedParameters": true,
"noUnusedLocals": true,
"noImplicitAny": true,

Loading…
Cancel
Save