Skip to content

Commit

Permalink
fix: We pick up all properties now
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Nov 25, 2020
1 parent 4b4d233 commit 4845209
Show file tree
Hide file tree
Showing 79 changed files with 6,567 additions and 14,168 deletions.
1 change: 0 additions & 1 deletion scripts/copy_test_files.js
Expand Up @@ -6,7 +6,6 @@ const { join } = require("path");
const copy = [
"test/converter",
"test/renderer",
"test/.dot",
"test/module",
"test/utils/options/readers/data",
];
Expand Down
1 change: 1 addition & 0 deletions scripts/rebuild_specs.js
Expand Up @@ -18,6 +18,7 @@ app.bootstrap({
"converter",
"tsconfig.json"
),
externalPattern: ["**/node_modules/**"],
});

// Note that this uses the test files in dist, not in src, this is important since
Expand Down
15 changes: 0 additions & 15 deletions src/lib/converter/components.ts
@@ -1,21 +1,6 @@
import * as ts from "typescript";

import { Component, AbstractComponent } from "../utils/component";
import { Reflection } from "../models/reflections/abstract";
import { Context } from "./context";
import { Converter } from "./converter";

export { Component };

export abstract class ConverterComponent extends AbstractComponent<Converter> {}

export abstract class ConverterNodeComponent<
T extends ts.Node
> extends ConverterComponent {
/**
* List of supported TypeScript syntax kinds.
*/
abstract supports: ts.SyntaxKind[];

abstract convert(context: Context, node: T): Reflection | undefined;
}

0 comments on commit 4845209

Please sign in to comment.