Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-native-background-timer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-native-background-timer - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

react-native-background-timer/index.d.ts

@@ -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;

15

react-native-background-timer/package.json
{
"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"
}

42

react-native-background-timer/README.md

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc