We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 791b222 commit 0c54818Copy full SHA for 0c54818
src/components/touchables/GenericTouchable.tsx
@@ -57,7 +57,7 @@ interface InternalProps {
57
58
// TODO: maybe can be better
59
// TODO: all clearTimeout have ! added, maybe they shouldn't ?
60
-type Timeout = null | NodeJS.Timeout | undefined;
+type Timeout = ReturnType<typeof setTimeout> | null | undefined;
61
62
/**
63
* GenericTouchable is not intented to be used as it is.
0 commit comments