mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* 🎉 add types for `react-beforeunload` * 🐛 [react-beforeunload] - fix broken tests from travis-ci (add `dom` for compiler `lib` option and duplicate `Handler` type because of https://github.com/Microsoft/dtslint/blob/master/docs/strict-export-declare-modifiers.md) * [react-beforeunload] make the handler and its `event` argument optional * [react-beforeunload] only make the hook handler optional Only make the hook handler optional (but not the event!) * [react-beforeunload] add noop hook test case * [react-beforeunload] oops, fix lint error :) * [react-beforeunload] add appropriate `undefined` return type * [react-beforeunload] split types semantically by function signatures * [react-beforeunload] fix typo |
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| react-beforeunload-tests.tsx | ||
| tsconfig.json | ||
| tslint.json | ||