Skip to content

PropertyData

객체 타입의 속성 정보를 나타내요. ReturnData와 TypedefData에서 객체 속성을 설명하는 데 사용돼요.

시그니처

typescript
interface PropertyData {
  name: string;
  type?: string;
  description: string;
  required: boolean;
  defaultValue?: string;
  nested?: PropertyData[];
}

속성

  • nameRequired · string

    속성의 이름

  • type · string

    속성의 타입

  • descriptionRequired · string

    속성의 설명

  • requiredRequired · boolean

    속성의 필수 여부

  • defaultValue · string

    속성이 선택적일 때의 기본값

  • nested · PropertyData[]

    중첩된 속성 데이터

MIT 라이선스에 따라 배포됩니다.