Skip to content

Commit b388043

Browse files
committed
要素を作成する関数の引数をrequiredに
1 parent 31432e2 commit b388043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/Qiita.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ export class Qiita extends Gateway {
262262
* @param options.tags 投稿に付いたタグ一覧
263263
* @return プロジェクト
264264
*/
265-
public createProject = (options?: options.CreateProjectOptions) => {
265+
public createProject = (options: options.CreateProjectOptions) => {
266266
return this.post<Project>(`${this.url}${this.version}/projects`, options);
267267
}
268268

@@ -468,7 +468,7 @@ export class Qiita extends Gateway {
468468
* @param options.tweet Twitterに投稿するかどうか (Twitter連携を有効化している場合のみ有効)
469469
* @return 投稿
470470
*/
471-
public createItem = (options?: options.CreateItemOptions) => {
471+
public createItem = (options: options.CreateItemOptions) => {
472472
return this.post<Item>(`${this.url}${this.version}/items`, options);
473473
}
474474

0 commit comments

Comments
 (0)