File tree Expand file tree Collapse file tree 4 files changed +97
-214
lines changed Expand file tree Collapse file tree 4 files changed +97
-214
lines changed Original file line number Diff line number Diff line change 2929 "graphql-compose" : " >=2.10.1 || >=3.0.0"
3030 },
3131 "devDependencies" : {
32- "aws-sdk" : " ^2.191 .0" ,
32+ "aws-sdk" : " ^2.192 .0" ,
3333 "babel-cli" : " ^6.26.0" ,
3434 "babel-eslint" : " ^8.2.1" ,
35- "babel-jest" : " ^22.2.0 " ,
35+ "babel-jest" : " ^22.2.2 " ,
3636 "babel-plugin-transform-flow-strip-types" : " ^6.22.0" ,
3737 "babel-plugin-transform-object-rest-spread" : " ^6.26.0" ,
3838 "babel-plugin-transform-runtime" : " ^6.23.0" ,
4848 "express-graphql" : " ^0.6.11" ,
4949 "flow-bin" : " ^0.65.0" ,
5050 "graphql" : " 0.13.0" ,
51- "graphql-compose" : " ^3.0.0-beta.2 " ,
52- "jest" : " ^22.2.1 " ,
51+ "graphql-compose" : " ^3.0.0-beta.5 " ,
52+ "jest" : " ^22.2.2 " ,
5353 "nodemon" : " ^1.14.12" ,
5454 "npm-run-all" : " ^4.1.2" ,
5555 "prettier" : " ^1.10.2" ,
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ export default class AwsParam {
155155 name : string ,
156156 isInput ? : boolean ,
157157 shapes ? : AwsShapes
158- ) : ComposeOutputType | ComposeInputType {
158+ ) : ComposeOutputType < * > | ComposeInputType {
159159 if ( param . type ) {
160160 switch ( param . type ) {
161161 case 'boolean ':
@@ -198,7 +198,7 @@ export default class AwsParam {
198198 param : ParamShape ,
199199 isInput ? : boolean ,
200200 shapes ? : AwsShapes
201- ) : ComposeOutputType | ComposeInputType {
201+ ) : ComposeOutputType < * > | ComposeInputType {
202202 if ( shapes ) {
203203 return isInput ? shapes . getInputShape ( param . shape ) : shapes . getOutputShape ( param . shape ) ;
204204 }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export default class AwsShapes {
1111 shapes : ShapesMap ;
1212 prefix : string ;
1313 shapesInput : { [ name : string ] : ComposeInputType } ;
14- shapesOutput: { [ name : string ] : ComposeOutputType } ;
14+ shapesOutput: { [ name : string ] : ComposeOutputType < * > } ;
1515
1616 constructor ( shapes : ShapesMap , prefix : string ) {
1717 this . shapes = shapes ;
@@ -39,7 +39,7 @@ export default class AwsShapes {
3939 return this . shapesInput [ name ] ;
4040 }
4141
42- getOutputShape ( name : string ) : ComposeOutputType {
42+ getOutputShape ( name : string ) : ComposeOutputType < * > {
4343 if ( ! this . shapesOutput [ name ] ) {
4444 if ( ! this . shapes [ name ] ) {
4545 throw new Error ( `Shape with name '${ name } ' not found in service config ${ this . prefix } ` ) ;
You can’t perform that action at this time.
0 commit comments