Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(useDebounce): return type of callback #603

Merged
merged 2 commits into from
Oct 14, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: rollup dts config
  • Loading branch information
qiweiii committed Oct 13, 2021
commit e6c467b228fdd76295d1217eba17b561462378ee
6 changes: 3 additions & 3 deletions dts.rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import dts from 'rollup-plugin-dts';
import dts from "rollup-plugin-dts";

const globals = { react: 'React', 'react-dom': 'ReactDOM' };
const globals = { react: "React", "react-dom": "ReactDOM", lodash: "lodash" };

const dtsBundleConfig = {
input: `./dist/esm/index.d.ts`,
output: [{ file: './dist/types/index.d.ts', format: 'es' }],
output: [{ file: "./dist/types/index.d.ts", format: "es" }],
plugins: [
dts({
respectExternal: true,
Expand Down