File tree Expand file tree Collapse file tree
constructive-react/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -639,7 +639,7 @@ export async function generateMulti(
639639
640640 try {
641641 for ( const name of names ) {
642- const baseConfig = {
642+ const baseConfig : GraphQLSDKConfigTarget = {
643643 ...configs [ name ] ,
644644 ...( cliOverrides ?? { } ) ,
645645 } ;
Original file line number Diff line number Diff line change 22 generateMulti ,
33 expandSchemaDirToMultiTarget ,
44} from '@constructive-io/graphql-codegen' ;
5+ import type { GraphQLSDKConfigTarget } from '@constructive-io/graphql-codegen' ;
56
67const SCHEMA_DIR = '../constructive-sdk/schemas' ;
78
@@ -11,7 +12,7 @@ async function main() {
1112 console . log ( 'Generating React SDK from schema files...' ) ;
1213 console . log ( `Schema directory: ${ SCHEMA_DIR } ` ) ;
1314
14- const baseConfig = {
15+ const baseConfig : GraphQLSDKConfigTarget = {
1516 schemaDir : SCHEMA_DIR ,
1617 output : './src' ,
1718 orm : true ,
Original file line number Diff line number Diff line change 22 generateMulti ,
33 expandSchemaDirToMultiTarget ,
44} from '@constructive-io/graphql-codegen' ;
5+ import type { GraphQLSDKConfigTarget } from '@constructive-io/graphql-codegen' ;
56
67const SCHEMA_DIR = '../constructive-sdk/schemas' ;
78
@@ -11,7 +12,7 @@ async function main() {
1112 console . log ( 'Generating SDK from schema files...' ) ;
1213 console . log ( `Schema directory: ${ SCHEMA_DIR } ` ) ;
1314
14- const baseConfig = {
15+ const baseConfig : GraphQLSDKConfigTarget = {
1516 schemaDir : SCHEMA_DIR ,
1617 output : './src' ,
1718 orm : true ,
You can’t perform that action at this time.
0 commit comments