@types/backbone.radio
Advanced tools
Comparing version 0.8.37 to 0.8.38
@@ -8,3 +8,3 @@ // Type definitions for Backbone.Radio 0.8 | ||
import * as Backbone from 'backbone'; | ||
import * as Backbone from "backbone"; | ||
@@ -32,15 +32,61 @@ export = Backbone.Radio; | ||
function command(channelName: string, commandName: string, ...args: any[]): void; | ||
function comply(channelName: string, commandName: string, callback: (...args: any[]) => void, context?: any): Commands; | ||
function comply(channelName: string, commands: { [key: string]: (...args: any[]) => any }, context?: any): Commands; | ||
function complyOnce(channelName: string, commandName: string, callback: (...args: any[]) => void, context?: any): Commands; | ||
function complyOnce(channelName: string, commands: { [key: string]: (...args: any[]) => any }, context?: any): Commands; | ||
function stopComplying(channelName: string, commandName?: string, callback?: (...args: any[]) => void, context?: any): Commands; | ||
function comply( | ||
channelName: string, | ||
commandName: string, | ||
callback: (...args: any[]) => void, | ||
context?: any, | ||
): Commands; | ||
function comply( | ||
channelName: string, | ||
commands: { [key: string]: (...args: any[]) => any }, | ||
context?: any, | ||
): Commands; | ||
function complyOnce( | ||
channelName: string, | ||
commandName: string, | ||
callback: (...args: any[]) => void, | ||
context?: any, | ||
): Commands; | ||
function complyOnce( | ||
channelName: string, | ||
commands: { [key: string]: (...args: any[]) => any }, | ||
context?: any, | ||
): Commands; | ||
function stopComplying( | ||
channelName: string, | ||
commandName?: string, | ||
callback?: (...args: any[]) => void, | ||
context?: any, | ||
): Commands; | ||
// Proxy functions for Requests | ||
function request(channelName: string, requestName: string, ...args: any[]): any; | ||
function reply(channelName: string, requestName: string, callback: (...args: any[]) => any, context?: any): Requests; | ||
function reply(channelName: string, commands: { [key: string]: (...args: any[]) => any }, context?: any): Requests; | ||
function replyOnce(channelName: string, requestName: string, callback: (...args: any[]) => any, context?: any): Requests; | ||
function replyOnce(channelName: string, commands: { [key: string]: (...args: any[]) => any }, context?: any): Requests; | ||
function stopReplying(channelName: string, commandName?: string, callback?: (...args: any[]) => any, context?: any): Requests; | ||
function reply( | ||
channelName: string, | ||
requestName: string, | ||
callback: (...args: any[]) => any, | ||
context?: any, | ||
): Requests; | ||
function reply( | ||
channelName: string, | ||
commands: { [key: string]: (...args: any[]) => any }, | ||
context?: any, | ||
): Requests; | ||
function replyOnce( | ||
channelName: string, | ||
requestName: string, | ||
callback: (...args: any[]) => any, | ||
context?: any, | ||
): Requests; | ||
function replyOnce( | ||
channelName: string, | ||
commands: { [key: string]: (...args: any[]) => any }, | ||
context?: any, | ||
): Requests; | ||
function stopReplying( | ||
channelName: string, | ||
commandName?: string, | ||
callback?: (...args: any[]) => any, | ||
context?: any, | ||
): Requests; | ||
@@ -104,2 +150,1 @@ // Proxy functions for Backbone.Events | ||
} | ||
{ | ||
"name": "@types/backbone.radio", | ||
"version": "0.8.37", | ||
"version": "0.8.38", | ||
"description": "TypeScript definitions for Backbone.Radio", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/backbone.radio", | ||
"license": "MIT", | ||
@@ -19,3 +20,3 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -30,4 +31,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "a1eaadef97c8a976c1f81fd8fce2339c6be3c1f232073d1a72bf2a84178f46c5", | ||
"typeScriptVersion": "2.8" | ||
"typesPublisherContentHash": "6d5c805e74d644b26a81ff988e57fdfbed203ec4a1f5fee284d637b63473fef2", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/backbone.radio | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/backbone.radio. | ||
Additional Details | ||
* Last updated: Wed, 19 Jun 2019 17:06:08 GMT | ||
* Dependencies: @types/backbone | ||
### Additional Details | ||
* Last updated: Fri, 15 Sep 2023 19:06:48 GMT | ||
* Dependencies: [@types/backbone](https://npmjs.com/package/@types/backbone) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Peter Palotas <https://github.com/alphaleonis>, and Julian Gonggrijp <https://github.com/jgonggrijp>. | ||
These definitions were written by [Peter Palotas](https://github.com/alphaleonis), and [Julian Gonggrijp](https://github.com/jgonggrijp). |
Sorry, the diff of this file is not supported yet
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
9697
133
1