mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Exposed json wrapper for customization by user
This commit is contained in:
Vendored
+6
@@ -169,12 +169,18 @@ declare namespace SignalR {
|
||||
protocol: string;
|
||||
host: string;
|
||||
}
|
||||
|
||||
interface JsonConverter {
|
||||
stringify: (o: any) => string;
|
||||
parse: (str: string) => any;
|
||||
}
|
||||
|
||||
interface Connection {
|
||||
clientProtocol: string;
|
||||
ajaxDataType: string;
|
||||
contentType: string;
|
||||
id: string;
|
||||
json: JsonConverter;
|
||||
logging: boolean;
|
||||
url: string;
|
||||
qs: string | Object;
|
||||
|
||||
Reference in New Issue
Block a user