We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fa8e16 + bbb8ca1 commit c2b64fdCopy full SHA for c2b64fd
api/response.ts
@@ -187,5 +187,5 @@ export interface ImportedPage {
187
/** JSON data for importing by https://scrapbox.io/api/page-data/import/:projectname.json */
188
export interface ImportedData<hasMetadata extends true | false = false> {
189
/** pages importing to a project */
190
- pages: hasMetadata extends true ? ImportedPage[] : ImportedLightPage;
+ pages: hasMetadata extends true ? ImportedPage[] : ImportedLightPage[];
191
}
0 commit comments