I am trying to extract keys from an interface as a string array so that I can iterate over them. After doing some research on stackoverflow, I found out that I need to use a library called 'ts-transformer-keys'. In my Next.js project, which involves both webpack and typescript, I have configured the webpack and tsconfig.json files according to the instructions provided in the link below:
https://github.com/iqraabdulrauf/ts-transformer-keys/blob/master/README.md
However, I am encountering an issue where the project fails to compile when using both 'ts-loader' and 'awesome-typescript-loader'. It seems to be unable to recognize the _document.tsx files located under the pages folder within the Next.js project.