I want to parse the nameOfTheComponent constant and want to create a variable name like I{nameOfTheComponent}Props
An example here:
const nameOfTheComponent = 'Test';
export interface ITestProps { // Props name should be ' I{nameOfTheComponent}Props '
test?: any; // any, string, number, boolean,
}
Is it possible?