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 {
16
16
* @param update 書き換え後の本文を作成する函数。引数には現在の本文が渡される
17
17
*/
18
18
patch : (
19
- update : ( before : Line [ ] , metadata ? : HeadData ) => string [ ] ,
19
+ update : ( before : Line [ ] , metadata : HeadData ) => string [ ] ,
20
20
) => Promise < void > ;
21
21
/** ページの更新情報を購読する */
22
22
listenPageUpdate : ( ) => AsyncGenerator < CommitNotification , void , unknown > ;
@@ -67,7 +67,7 @@ export async function joinPageRoom(
67
67
patch : async (
68
68
update : (
69
69
before : Line [ ] ,
70
- metadata ? : HeadData ,
70
+ metadata : HeadData ,
71
71
) => string [ ] | Promise < string [ ] > ,
72
72
) => {
73
73
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(
55
55
export async function patch (
56
56
project : string ,
57
57
title : string ,
58
- update : ( lines : Line [ ] , metadata ? : HeadData ) => string [ ] | Promise < string [ ] > ,
58
+ update : ( lines : Line [ ] , metadata : HeadData ) => string [ ] | Promise < string [ ] > ,
59
59
) : Promise < void > {
60
60
const [
61
61
head_ ,
You can’t perform that action at this time.
0 commit comments