Skip to content

Commit

Permalink
Merge pull request #3732 from preactjs/debug-types
Browse files Browse the repository at this point in the history
Add missing "types" field for preact/debug
  • Loading branch information
marvinhagemeister committed Sep 17, 2022
2 parents d7a433e + 9dea4ea commit 63f285b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debug/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* Reset the history of which prop type warnings have been logged.
*/
export function resetPropWarnings(): void;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"require": "./compat/dist/compat.js"
},
"./debug": {
"types": "./debug/src/index.d.ts",
"browser": "./debug/dist/debug.module.js",
"umd": "./debug/dist/debug.umd.js",
"import": "./debug/dist/debug.mjs",
Expand Down

0 comments on commit 63f285b

Please sign in to comment.