From 3f6c0fad4fc8aa1270d3bd30adf6a9905f745ce2 Mon Sep 17 00:00:00 2001 From: spencerwooo Date: Wed, 26 Jan 2022 15:44:31 +0800 Subject: [PATCH] update comment style --- types/index.d.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 619f118..0d4867e 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -50,17 +50,11 @@ export declare type OdSearchResult = Array<{ path: string parentReference: { id: string; name: string; path: string } }> - -// driveItem type which is returned by /api/item?id={id} +// API response object for /api/item?id={id}. This is primarily used for determining the path of the driveItem by ID. export type OdDriveItem = { '@odata.context': string '@odata.etag': string id: string name: string - parentReference: { - driveId: string - driveType: string - id: string - path: string - } + parentReference: { driveId: string; driveType: string; id: string; path: string } }