mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Adding a failing test for getParam This demonstrates that typing of `navigation.getParam` works when a parameter type is provided. This fails with the following error: ``` ERROR: 559:54 expect TypeScript@next compile error: Argument of type '"title"' is not assignable to parameter of type '"unknown"'. ``` * Making test pass |
||
|---|---|---|
| .. | ||
| v1 | ||
| index.d.ts | ||
| react-navigation-tests.tsx | ||
| tsconfig.json | ||
| tslint.json | ||