mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-05 08:45:41 -05:00
finally fix slow typescript compilation!
see https://github.com/stitchesjs/stitches/issues/1038
This commit is contained in:
@@ -16,7 +16,7 @@ export type BuildFeedOptions = {
|
||||
export const buildFeed = async (
|
||||
context: GetServerSidePropsContext<ParsedUrlQuery, PreviewData>,
|
||||
options: BuildFeedOptions
|
||||
): Promise<{ props: Record<string, unknown> }> => {
|
||||
): Promise<{ props: { [key: string]: unknown } }> => {
|
||||
const { res } = context;
|
||||
|
||||
// https://github.com/jpmonette/feed#example
|
||||
|
||||
@@ -12,7 +12,7 @@ const IsomorphicSentry = () => {
|
||||
return Sentry;
|
||||
};
|
||||
|
||||
export const logServerError = async (error: string | Error) => {
|
||||
export const logServerError = async (error: unknown) => {
|
||||
try {
|
||||
const sentryInstance = IsomorphicSentry();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user