Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Commit

Permalink
suppress some complains from typescript compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSnowfield committed Aug 21, 2020
1 parent e43c24b commit 43cddad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/modules/database/interfaces/IDatabaseArcPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export default interface IDatabaseArcPlayer {
uid: number,
code: string,
name: string,
ptt: number,
ptt?: number,
join_date: number
}
2 changes: 1 addition & 1 deletion source/publicapi/v1/songinfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default (argument: any): Promise<any> => {
_arc_songinfo = await arcsong_bysongid(_arc_songid);
} catch (e) { syslog.e(TAG, e.stack); throw new APIError(-4, 'internal error'); }

const _return = {
const _return: any = {
id: _arc_songinfo.sid,
title_localized: {
en: _arc_songinfo.name_en,
Expand Down
2 changes: 1 addition & 1 deletion source/publicapi/v2/songinfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default (argument: any): Promise<any> => {
_arc_songinfo = await arcsong_bysongid(_arc_songid);
} catch (e) { syslog.e(TAG, e.stack); throw new APIError(-4, 'internal error'); }

const _return = {
const _return: any = {
id: _arc_songinfo.sid,
title_localized: {
en: _arc_songinfo.name_en,
Expand Down

0 comments on commit 43cddad

Please sign in to comment.