mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
* fix types for other components (compare with event and eventWrapper, they just have no special props) * also define props for view-specific event component override * fix withDragAndDrop type definition. disable automatic exports. * any is unnecessary here * fix tests * revert change to ViewsProps due to @eps1lon comments / https://github.com/DefinitelyTyped/DefinitelyTyped/pull/43215 * change DragAndDropCalendarProps from type to interface, as suggested by @DanielRosenwasser * 🤖 Merge PR #46905 Package Proclaim: Make msg parameter optional for all assertions by @JakeChampion * Make msg param optional for assertions in proclaim * Mark message and operator params of fail as optional * Update tests to check the optional parameters are indeed optionals * Make the commonjs export of proclaim point to proclaim.ok function * Add test to prove proclaim.ok points to proclaim * Properly describe props for (custom) View, with new test with wrong prop (expecting error). Pass generic types for event and resource at more places (and fix test). Plus: turned off automatic exports for index.d.ts aswell due to own Omit (added to keep compat with older TS versions). * typo * Revert strict views (with their disfunctional tests), but retain ViewProps for optional use (guarded with a test) Strict views cannot expressed du to current limitaion in TypeScript, see <https://github.com/Microsoft/TypeScript/issues/13195> Co-authored-by: Jake Champion <me@jakechampion.name> |
||
|---|---|---|
| .. | ||
| lib/addons | ||
| index.d.ts | ||
| react-big-calendar-tests.tsx | ||
| tsconfig.json | ||
| tslint.json | ||