File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export interface JoinPageRoomResult {
1616 * @param update 書き換え後の本文を作成する函数。引数には現在の本文が渡される
1717 */
1818 patch : (
19- update : ( before : Line [ ] , metadata ? : HeadData ) => string [ ] ,
19+ update : ( before : Line [ ] , metadata : HeadData ) => string [ ] ,
2020 ) => Promise < void > ;
2121 /** ページの更新情報を購読する */
2222 listenPageUpdate : ( ) => AsyncGenerator < CommitNotification , void , unknown > ;
@@ -67,7 +67,7 @@ export async function joinPageRoom(
6767 patch : async (
6868 update : (
6969 before : Line [ ] ,
70- metadata ? : HeadData ,
70+ metadata : HeadData ,
7171 ) => string [ ] | Promise < string [ ] > ,
7272 ) => {
7373 for ( let i = 0 ; i < 3 ; i ++ ) {
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export async function deletePage(
5555export async function patch (
5656 project : string ,
5757 title : string ,
58- update : ( lines : Line [ ] , metadata ? : HeadData ) => string [ ] | Promise < string [ ] > ,
58+ update : ( lines : Line [ ] , metadata : HeadData ) => string [ ] | Promise < string [ ] > ,
5959) : Promise < void > {
6060 const [
6161 head_ ,
You can’t perform that action at this time.
0 commit comments