You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there may be a missing flag that needs to be passed to the typescript compiler?
errors like this are not found by the new compiler but tsc would have caught it
ola@Olas-personal-MBP simple % tsc
src/graphql/mutations/generated/contact/create_contact_action_type.ts:67:68 - error TS2345: Argument of type '{ emailAddress: string; firstName: string; lastName: string; }' is not assignable to parameter of type 'ContactCreateInput'.
Property 'userID' is missing in type '{ emailAddress: string; firstName: string; lastName: string; }' but required in type 'ContactCreateInput'.
67 let contact = await CreateContactAction.create(context.viewer, {
~
68 emailAddress: args.emailAddress,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
70 lastName: args.lastName,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 }).saveX();
~~~~~
src/ent/contact/actions/generated/create_contact_action_base.ts:16:3
16 userID: ID | Builder<User>;
~~~~~~
'userID' is declared here.
src/graphql/mutations/generated/event/create_event_action_type.ts:71:64 - error TS2345: Argument of type '{ name: string; startTime: Date; endTime: Date | null | undefined; location: string; }' is not assignable to parameter of type 'EventCreateInput'.
Property 'creatorID' is missing in type '{ name: string; startTime: Date; endTime: Date | null | undefined; location: string; }' but required in type 'EventCreateInput'.
71 let event = await CreateEventAction.create(context.viewer, {
~
72 name: args.name,
~~~~~~~~~~~~~~~~~~~~~~
...
75 location: args.location,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76 }).saveX();
~~~~~
src/ent/event/actions/generated/create_event_action_base.ts:11:3
11 creatorID: ID | Builder<User>;
~~~~~~~~~
'creatorID' is declared here.
Found 2 errors.
The text was updated successfully, but these errors were encountered:
there may be a missing flag that needs to be passed to the typescript compiler?
errors like this are not found by the new compiler but
tsc
would have caught itThe text was updated successfully, but these errors were encountered: