Skip to content

Commit 1265436

Browse files
authored
fix: correctly implement interface (#30)
1 parent bf65a39 commit 1265436

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/declarations/InterfaceDeclaration.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1+
import { AccessorDeclaration } from './AccessorDeclaration';
12
import { ClassLikeDeclaration, ExportableDeclaration, GenericDeclaration } from './Declaration';
23
import { MethodDeclaration } from './MethodDeclaration';
34
import { PropertyDeclaration } from './PropertyDeclaration';
45

56
/**
67
* Interface declaration that contains defined properties and methods.
7-
*
8+
*
89
* @export
910
* @class InterfaceDeclaration
1011
* @implements {ExportableDeclaration}
1112
* @implements {GenericDeclaration}
1213
*/
1314
export class InterfaceDeclaration implements ClassLikeDeclaration, ExportableDeclaration, GenericDeclaration {
15+
public accessors: AccessorDeclaration[];
1416
public typeParameters: string[] | undefined;
1517
public properties: PropertyDeclaration[] = [];
1618
public methods: MethodDeclaration[] = [];

0 commit comments

Comments
 (0)