2015-07-26から1日間の記事一覧

TypeScript で Argument of type string is not assignable to parameter of type Thenable

TypeScript + bluebirdで以下のエラーが出た。error TS2345: Argument of type 'string' is not assignable to parameter of type 'Thenable'. 【追記 2015/08/21】 BlueBirdの定義ファイルを更新したらエラーが出なくなった。 # tsd update --save --overwr…

第3回 コードリーディング

今回は ApnsPHP を読んだ。ApnsPHP_Abstract ... 接続処理 ApnsPHP_Feedback ... フィードバック用の操作 ApnsPHP_Push ... PUSH送信 ApnsPHP_Push_Server ... プロセスをフォークして並列送信できるようにしている。ApnsPHP_Pushを継承しているので、送信自…