0

Given I have an interface that uses snake case for keys:

interface helloUnderscore {
  hello_world: boolean
}

Is it possible to create a Camel type that loops over the input interface?

type hello = Camel<hello>;

And creates a type that has all the keys in camel case?

const hi: hello = {
   helloWorld: true // valid
}
ThomasReggi
  • 55,053
  • 85
  • 237
  • 424

0 Answers0