Skip to content

Commit 2218eb8

Browse files
authored
Merge branch 'master' into master
2 parents 69e020a + 4a9aefc commit 2218eb8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
"lint": "eslint debug devtools src test",
2929
"prepublish": "npm run build",
3030
"smart-release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish",
31-
"release": "cross-env npm run smart-release"
31+
"release": "cross-env npm run smart-release",
32+
"postinstall": "npm run -s donate",
33+
"donate": "echo \"\n *** Thanks for downloading Preact! ***\nPlease consider donating to our open collective\n\n => https://opencollective.com/preact/donate\n\""
3234
},
3335
"eslintConfig": {
3436
"extends": "./config/eslint-config.js"

src/preact.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ declare namespace JSX {
384384
// Form Events
385385
onChange?:GenericEventHandler;
386386
onInput?:GenericEventHandler;
387+
onSearch?:GenericEventHandler;
387388
onSubmit?:GenericEventHandler;
388389

389390
// Keyboard Events

0 commit comments

Comments
 (0)