strictNullChecks (#4666)

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
This commit is contained in:
syuilo
2019-04-13 01:43:22 +09:00
committed by GitHub
parent 4ee40c3345
commit 987168b863
214 changed files with 939 additions and 785 deletions

View File

@@ -33,5 +33,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await activeUsersChart.getChart(ps.span as any, ps.limit);
return await activeUsersChart.getChart(ps.span as any, ps.limit!);
});

View File

@@ -33,5 +33,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await driveChart.getChart(ps.span as any, ps.limit);
return await driveChart.getChart(ps.span as any, ps.limit!);
});

View File

@@ -33,5 +33,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await federationChart.getChart(ps.span as any, ps.limit);
return await federationChart.getChart(ps.span as any, ps.limit!);
});

View File

@@ -40,5 +40,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await hashtagChart.getChart(ps.span as any, ps.limit, ps.tag);
return await hashtagChart.getChart(ps.span as any, ps.limit!, ps.tag);
});

View File

@@ -41,5 +41,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await instanceChart.getChart(ps.span as any, ps.limit, ps.host);
return await instanceChart.getChart(ps.span as any, ps.limit!, ps.host);
});

View File

@@ -33,5 +33,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await networkChart.getChart(ps.span as any, ps.limit);
return await networkChart.getChart(ps.span as any, ps.limit!);
});

View File

@@ -33,5 +33,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await notesChart.getChart(ps.span as any, ps.limit);
return await notesChart.getChart(ps.span as any, ps.limit!);
});

View File

@@ -42,5 +42,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await perUserDriveChart.getChart(ps.span as any, ps.limit, ps.userId);
return await perUserDriveChart.getChart(ps.span as any, ps.limit!, ps.userId);
});

View File

@@ -42,5 +42,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await perUserFollowingChart.getChart(ps.span as any, ps.limit, ps.userId);
return await perUserFollowingChart.getChart(ps.span as any, ps.limit!, ps.userId);
});

View File

@@ -42,5 +42,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await perUserNotesChart.getChart(ps.span as any, ps.limit, ps.userId);
return await perUserNotesChart.getChart(ps.span as any, ps.limit!, ps.userId);
});

View File

@@ -42,5 +42,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await perUserReactionsChart.getChart(ps.span as any, ps.limit, ps.userId);
return await perUserReactionsChart.getChart(ps.span as any, ps.limit!, ps.userId);
});

View File

@@ -33,5 +33,5 @@ export const meta = {
};
export default define(meta, async (ps) => {
return await usersChart.getChart(ps.span as any, ps.limit);
return await usersChart.getChart(ps.span as any, ps.limit!);
});