Search in sources :

Example 1 with TSTypeReferenceResolver

use of io.crnk.gen.typescript.writer.TSTypeReferenceResolver in project crnk-framework by crnk-project.

the class TSImportProcessor method transform.

private static void transform(TSSource source) {
    TSTypeReferenceResolver refResolver = new TSTypeReferenceResolver();
    refResolver.accept(source);
    for (TSType type : refResolver.getTypes()) {
        processType(source, type);
    }
}
Also used : TSTypeReferenceResolver(io.crnk.gen.typescript.writer.TSTypeReferenceResolver) TSType(io.crnk.gen.typescript.model.TSType)

Aggregations

TSType (io.crnk.gen.typescript.model.TSType)1 TSTypeReferenceResolver (io.crnk.gen.typescript.writer.TSTypeReferenceResolver)1