@types/react-native-background-timer
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -1,6 +0,1 @@ | ||
// Type definitions for react-native-background-timer 2.0 | ||
// Project: https://github.com/ocetnik/react-native-background-timer#readme | ||
// Definitions by: Tjark Smalla <https://github.com/chillkroeteTTS> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/*~ You can declare types that are available via importing the module */ | ||
@@ -7,0 +2,0 @@ export type IntervalId = number; |
{ | ||
"name": "@types/react-native-background-timer", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "TypeScript definitions for react-native-background-timer", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-background-timer", | ||
"license": "MIT", | ||
@@ -9,15 +10,17 @@ "contributors": [ | ||
"name": "Tjark Smalla", | ||
"url": "https://github.com/chillkroeteTTS", | ||
"githubUsername": "chillkroeteTTS" | ||
"githubUsername": "chillkroeteTTS", | ||
"url": "https://github.com/chillkroeteTTS" | ||
} | ||
], | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/react-native-background-timer" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "96dc711c5ba857c70d1ee6ba4ff81a3000c21fe3dd092d499d41bee59095a731", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "0e9511fc90bf5e10e990dbb4f1d56ed6ef10fd86e686852cee70c6e76a10ef9d", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -8,10 +8,42 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-background-timer | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-background-timer. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-background-timer/index.d.ts) | ||
````ts | ||
/*~ You can declare types that are available via importing the module */ | ||
export type IntervalId = number; | ||
export type TimeoutId = number; | ||
Additional Details | ||
* Last updated: Tue, 26 Jun 2018 01:10:51 GMT | ||
/*~ You can declare properties of the module using const, let, or var */ | ||
declare class BackgroundTimer { | ||
constructor(); | ||
start(delay?: number): any; | ||
stop(): void; | ||
runBackgroundTimer(callback: () => void, delay: number): void; | ||
backgroundClockMethod(callback: () => void, delay: number): void; | ||
stopBackgroundTimer(): void; | ||
setTimeout(callback: () => void, timeout: number): TimeoutId; | ||
clearTimeout(timeoutId: TimeoutId): void; | ||
setInterval(callback: () => void, timeout: number): IntervalId; | ||
clearInterval(intervalId: IntervalId): void; | ||
} | ||
declare const _BackgroundTimer: BackgroundTimer; | ||
export default _BackgroundTimer; | ||
```` | ||
### Additional Details | ||
* Last updated: Wed, 18 Oct 2023 11:45:05 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Tjark Smalla <https://github.com/chillkroeteTTS>. | ||
These definitions were written by [Tjark Smalla](https://github.com/chillkroeteTTS). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4349
0
49
18