Skip to content

Commit

Permalink
fix: correctly implement interface (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
buehler authored Oct 3, 2017
1 parent bf65a39 commit 1265436
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/declarations/InterfaceDeclaration.ts
Original file line number Diff line number Diff line change
@@ -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[] = [];
Expand Down

0 comments on commit 1265436

Please sign in to comment.