Handle multiple configuration types from learningpath-api backend #1295
Annotations
4 errors
Unit tests:
src/resolvers/folderResolvers.ts#L114
Type 'IMyNDLAUser' is not assignable to type 'GQLMyNdlaPersonalData'.
|
Unit tests:
src/resolvers/folderResolvers.ts#L196
Type '(_: any, params: GQLMutationUpdatePersonalDataArgs, context: ContextWithLoaders) => Promise<IMyNDLAUser>' is not assignable to type 'Resolver<ResolverTypeWrapper<GQLMyNdlaPersonalData>, {}, any, RequireFields<GQLMutationUpdatePersonalDataArgs, "favoriteSubjects">>'.
|
Unit tests:
src/resolvers/learningpathResolvers.ts#L51
Type 'string' is not assignable to type 'string[]'.
|
Unit tests
Process completed with exit code 2.
|