getmanfred / mac

Manfred Awesomic CV
Creative Commons Attribution Share Alike 4.0 International
582 stars 36 forks source link

Add TypeScript definitions #4

Closed brauliodiez closed 2 years ago

brauliodiez commented 2 years ago

I think it would be a good idea to add TypeScript definitions we could just add a subfolder, named TypeScript and developers who are using this technology can get benefit of deinition types.

I have used a tool to extract the typings from the schema definition and generated a codesandbox:

codesandbox example

This example, just use the typescript definition and is tested agains the example cv you provide:

If you think this can be interesting, gimme a buzz we can fork the project and:

brauliodiez commented 2 years ago

Hello @dbonillaf and @ydarias sorry we started working on this case before it was assigned, we have created a first version, could you take a look to the PR? Thanks

ydarias commented 2 years ago

Don't worry @brauliodiez this is open source, so PRs are welcome. I will take a look to the PR you created :-) Thank you in advance ^_^