angular-schema-form icon indicating copy to clipboard operation
angular-schema-form copied to clipboard

Add Typescript type definition

Open genaro-picazo opened this issue 8 years ago • 6 comments

Any plans on creating Typescript type definitions for this library? I'd like to use it in an angular project that is written in Typescript, and was wondering if they are plans to have official support, or if I should look into writing my own type definitions.

genaro-picazo avatar Mar 04 '16 22:03 genaro-picazo

+1 ?

ghost avatar Mar 07 '16 11:03 ghost

That seems like a great idea, I would you like to be involved in creating a definition for ASF? (Actually, I am using it in a typescript project without a definition, I thought about writing one, but that never happened, ASF isn't that many types)

nicklasb avatar Mar 09 '16 07:03 nicklasb

There is actually a project for this to happen: https://github.com/json-schema-form/json-schema-form/wiki/Current-projects#typescript-definition

Anyone have any experience with creating DT-definitions? I haven't before.

nicklasb avatar Apr 13 '16 07:04 nicklasb

Also, I would recommend waiting until the core has been broken out(ie 1.0), as I suppose that there will be a jsf interface and and asf-interface in the end.

nicklasb avatar Apr 13 '16 07:04 nicklasb

I was looking for an example how to include schemaform.io in an ionic 2.0 project which uses typescript. I'm not an expert in javascript and a newbee for typescript and I would love a simple example how to use this together. Schemaform is really brilliant and exactly what I was looking for. I'm just in the need to use it in an app instead of a website :-((

wendibus avatar Sep 20 '16 11:09 wendibus

Well, actually, it should be possible. We are using ASF as is, using @angular/upgrade in an Angular 2/Typescript project, a description of that is here: https://github.com/OptimalBPM/of-admin/wiki/App-Entry-&-Bootstrapping

I don't know how well Ionic works with ASF in other ways, though.

I have actually considered creating an implementation for react-native or react-native-renderer. Because after 1.0, and Angular 2 implementation is the next major thing.

nicklasb avatar Sep 20 '16 12:09 nicklasb