Skip to content

Commit f366536

Browse files
committed
fix typings
1 parent 75691a8 commit f366536

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-promise-tracker",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Simple React Promise tracker Hook/HOC helper to add loading spinner indicators",
55
"keywords": [
66
"react",

src/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export function trackPromise(promise: Promise<any>): Promise<any>;
1717
*/
1818

1919
interface Config {
20-
area: string;
21-
delay: number;
20+
area?: string;
21+
delay?: number;
2222
}
2323

2424
/**

0 commit comments

Comments
 (0)