A
A
ArturMavlidov2022-04-01 13:39:50
typescript
ArturMavlidov, 2022-04-01 13:39:50

In which directory to store ts interfaces for component props? Would src/ts/interfaces.ts work?

And this interfaces.ts will store all the necessary interfaces for all project components

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Shipin, 2022-04-01
@ArturMavlidov

1. If this is a pet project, store it in cloud storage, the main thing is that you understand the structure and can scale it if necessary
2. If this is a third-party project that you are working on, then store it so that the structure of your project is understandable to anyone to another developer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question