mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Exposed json wrapper for customization by user
This commit is contained in:
1 parent
d22516f9f0
commit
0ba0d7058d
1 file changed
+6
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