Skip to content
This repository has been archived by the owner on Oct 15, 2018. It is now read-only.

Create FileDefinition from scratch #109

Closed
dsherret opened this issue Apr 4, 2016 · 1 comment
Closed

Create FileDefinition from scratch #109

dsherret opened this issue Apr 4, 2016 · 1 comment

Comments

@dsherret
Copy link
Owner

dsherret commented Apr 4, 2016

Related to #50.

Add the ability to create a FileDefinition for writing from scratch.

Probably something like:

const file = TsTypeInfo.createFile({ fileName: "my-file.ts" }); // maybe better name?
file.addInterfaces(...);
file.addClasses(...);
@dsherret dsherret added this to the Version 2.0 milestone Apr 4, 2016
@dsherret dsherret changed the title Create file from scratch Create FileDefinition from scratch Apr 4, 2016
@dsherret
Copy link
Owner Author

Maybe rename this later though...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant