Skip to content

Commit

Permalink
Merge pull request #13 from takker99/fix
Browse files Browse the repository at this point in the history
Fix: []をつけ忘れてた
  • Loading branch information
takker99 authored Jan 4, 2022
2 parents 8fa8e16 + bbb8ca1 commit c2b64fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,5 @@ export interface ImportedPage {
/** JSON data for importing by https://scrapbox.io/api/page-data/import/:projectname.json */
export interface ImportedData<hasMetadata extends true | false = false> {
/** pages importing to a project */
pages: hasMetadata extends true ? ImportedPage[] : ImportedLightPage;
pages: hasMetadata extends true ? ImportedPage[] : ImportedLightPage[];
}

0 comments on commit c2b64fd

Please sign in to comment.