forked from taktik/ts-generator
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Milestone
Description
import type { KAnnotatedElement } from '../../kotlin/reflect/KAnnotatedElement.d.ts'
import type { Any } from '../../java/lang/Any.d.ts'
import type { KParameter } from '../../kotlin/reflect/KParameter.d.ts'
import type { KType } from '../../kotlin/reflect/KType.d.ts'
import type { KTypeParameter } from '../../kotlin/reflect/KTypeParameter.d.ts'
import type { KVisibility } from '../../kotlin/reflect/KVisibility.d.ts'
export interface KCallable<R extends Any | null> extends KAnnotatedElement, Any {
isAbstract: boolean;
isFinal: boolean;
isOpen: boolean;
isSuspend: boolean;
name: string;
parameters: KParameter[];
returnType: KType;
typeParameters: KTypeParameter[];
visibility: KVisibility | null;
call(args: (Any | null)[]): R;
callBy(args: { [key: KParameter]: Any | null }): R;
}An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type.ts(1268)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels