FunctionDeclarationSchema interface

Giản đồ cho các tham số được truyền đến FunctionDeclaration.parameters.

Chữ ký:

export interface FunctionDeclarationSchema 

Thuộc tính

Tài sản Loại Mô tả
description [mô_tả] chuỗi Không bắt buộc. Nội dung mô tả về thông số.
thuộc tính { [k: string]: FunctionDeclarationSchemaProperty; } Định dạng của thông số.
bắt buộc chuỗi[] Không bắt buộc. Mảng các tham số bắt buộc.
loại FunctionDeclarationSchemaType Loại thông số.

FunctionDeclarationSchema.description

Không bắt buộc. Nội dung mô tả về thông số.

Chữ ký:

description?: string;

FunctionDeclarationSchema.properties

Định dạng của thông số.

Chữ ký:

properties: {
        [k: string]: FunctionDeclarationSchemaProperty;
    };

FunctionDeclarationSchema.required

Không bắt buộc. Mảng các tham số bắt buộc.

Chữ ký:

required?: string[];

FunctionDeclarationSchema.type

Loại thông số.

Chữ ký:

type: FunctionDeclarationSchemaType;