Merge pull request #12729 from twhid/patch-2

Relay.DefaultNetworkLayer 2nd arg is optional
This commit is contained in:
Nathan Shively-Sanders
2016-11-23 11:06:35 -08:00
committed by GitHub
+1 -1
View File
@@ -52,7 +52,7 @@ declare module "react-relay" {
}
class DefaultNetworkLayer implements RelayNetworkLayer {
constructor(host: string, options: any)
constructor(host: string, options?: any)
supports(...options: string[]): boolean
}