Skip to content

Commit 93ea359

Browse files
authored
Merge pull request #29 from fubhy/patch-2
fix: FunctionDefinition type declaration
2 parents 650b41c + 3bc0930 commit 93ea359

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,13 @@ export interface FunctionDefinition extends BaseASTNode {
154154
modifiers: ModifierInvocation[];
155155
stateMutability?: 'pure' | 'constant' | 'payable' | 'view'
156156
visibility: 'default' | 'external' | 'internal' | 'public' | 'private';
157-
isConstructor: boolean;
158157
returnParameters?: VariableDeclaration[];
159158
body?: Block;
160159
override: null | UserDefinedTypeName[];
160+
isConstructor: boolean;
161+
isReceiveEther: boolean;
162+
isFallback: boolean;
163+
isVirtual: boolean;
161164
}
162165
export interface EventDefinition extends BaseASTNode {
163166
type: 'EventDefinition';

0 commit comments

Comments
 (0)