Skip to content

Commit

Permalink
fix tsc err
Browse files Browse the repository at this point in the history
  • Loading branch information
pavjacko committed Mar 8, 2024
1 parent 2549a59 commit 275a51b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/engine-core/src/tasks/global/taskNew.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const _prepareProjectOverview = (c: RnvContext, data: NewProjectData) => {
data.confirmString = str;
};

type ConfigProp = Required<ConfigFileTemplate>['templateConfig']['bootstrapQuestions'][number]['configProp'];
type ConfigProp = Required<Required<ConfigFileTemplate>['templateConfig']>['bootstrapQuestions'][number]['configProp'];

type QuestionResults = Record<
string,
Expand All @@ -169,7 +169,7 @@ type QuestionResults = Record<
}
>;

type BootstrapQuestions = Required<ConfigFileTemplate>['templateConfig']['bootstrapQuestions'];
type BootstrapQuestions = Required<Required<ConfigFileTemplate>['templateConfig']>['bootstrapQuestions'];

const interactiveQuestion = async (
results: QuestionResults,
Expand Down

0 comments on commit 275a51b

Please sign in to comment.