Skip to content

Commit

Permalink
feat(ProjectParser): add static version property
Browse files Browse the repository at this point in the history
  • Loading branch information
RealShadowNova committed Oct 3, 2022
1 parent 51803fa commit d88c4a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/structures/ProjectParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class ProjectParser {
* The version of `typedoc-json-parser` used to generate this project.
* @since 1.0.0
*/
public readonly typeDocJsonParserVersion: string = '[@versionInjector]';
public readonly typeDocJsonParserVersion: string = ProjectParser.version;

/**
* The identifier of this project. This is usually `0`
Expand Down Expand Up @@ -354,6 +354,8 @@ export class ProjectParser {
typeAliases: this.typeAliases.map((parser) => parser.toJSON())
};
}

public static version = '[@versionInjector]';
}

export namespace ProjectParser {
Expand Down

0 comments on commit d88c4a0

Please sign in to comment.