'How to type enum and object to have same properties React Typescript

i have an enum:

enum INFO_CODES {
goToInit = 'goToInit',
lockIp = 'lockIp',

}

and i want to create an object(or enum also) with the same properties (only goToInit and lockIp)

const SOME_OBJ = {
goToInit: function, //here i need function
lockIp: function,//here i need function
someProp:function //here i need mistake,can create only like in 
INFO_CODES props.

}



Solution 1:[1]

I think you imported the repository, that is not needed if you want to manage the code on GitHub but build it using Azure Devops.

You can create an Azure Devops pipeline to build and deploy your GitHub based code as shown in the docs

Have you thought about GitHub actions to build, deploy and test your code?

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Peter Bons