Skip to content

Commit fe9e784

Browse files
authoredApr 26, 2018
fix: Updating cert/key options type to support Buffer
Closes #261
2 parents 1b29f24 + e4c6715 commit fe9e784

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎src/types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ export interface ApolloServerOptions {
7474
}
7575

7676
export interface HttpsOptions {
77-
cert: string
78-
key: string
77+
cert: string | Buffer
78+
key: string | Buffer
7979
}
8080

8181
export interface Options extends ApolloServerOptions {

0 commit comments

Comments
 (0)