From 12654364cd5cdba2acf3a957410bf0283c8523b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BChler?= Date: Tue, 3 Oct 2017 07:58:52 +0200 Subject: [PATCH] fix: correctly implement interface (#30) --- src/declarations/InterfaceDeclaration.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/declarations/InterfaceDeclaration.ts b/src/declarations/InterfaceDeclaration.ts index 3427a3c..70014bb 100644 --- a/src/declarations/InterfaceDeclaration.ts +++ b/src/declarations/InterfaceDeclaration.ts @@ -1,16 +1,18 @@ +import { AccessorDeclaration } from './AccessorDeclaration'; import { ClassLikeDeclaration, ExportableDeclaration, GenericDeclaration } from './Declaration'; import { MethodDeclaration } from './MethodDeclaration'; import { PropertyDeclaration } from './PropertyDeclaration'; /** * Interface declaration that contains defined properties and methods. - * + * * @export * @class InterfaceDeclaration * @implements {ExportableDeclaration} * @implements {GenericDeclaration} */ export class InterfaceDeclaration implements ClassLikeDeclaration, ExportableDeclaration, GenericDeclaration { + public accessors: AccessorDeclaration[]; public typeParameters: string[] | undefined; public properties: PropertyDeclaration[] = []; public methods: MethodDeclaration[] = [];