Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
fix: make @types/react and @types/react-dom dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybaratta authored Aug 6, 2023
1 parent 9c46ec6 commit 20712a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export default class AppGenerator extends Generator {

if (this.props.react) {
await this.addDependencies(['react', 'react-dom']);
await this.addDependencies(['@types/react', '@types/react-dom']);
await this.addDevDependencies(['@types/react', '@types/react-dom']);
}
}

Expand Down

0 comments on commit 20712a7

Please sign in to comment.