Skip to content
Merged

Dev #75

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-extractor",
"version": "3.1.3",
"version": "3.1.4",
"description": "TypeScript AST extractor to useful JSON structure.",
"keywords": [
"typescript",
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/definitions/api-function-type-dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { ApiCallableDto } from "../api-callable-dto";
import { ApiItemKinds } from "../api-item-kinds";

export interface ApiFunctionTypeDto extends ApiCallableDto {
ApiKind: ApiItemKinds.Function;
ApiKind: ApiItemKinds.FunctionType;
}
2 changes: 1 addition & 1 deletion src/definitions/api-function-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class ApiFunctionType extends ApiCallableBase<ts.FunctionTypeNode, ApiFun
const location: ApiItemLocationDto = ApiHelpers.GetApiItemLocationDtoFromNode(this.Declaration, this.Options);

return {
ApiKind: ApiItemKinds.Function,
ApiKind: ApiItemKinds.FunctionType,
Name: this.Symbol.name,
Kind: this.Declaration.kind,
KindString: ts.SyntaxKind[this.Declaration.kind],
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.