build: prevent tsconfig includes sources outside (#2643)

This commit is contained in:
LongYinan
2023-06-01 17:08:14 +08:00
committed by Himself65
parent 2a31af0973
commit 4ab5457a44
25 changed files with 160 additions and 107 deletions

View File

@@ -30,3 +30,7 @@ export const getExposedMeta = () => {
events: eventsMeta,
};
};
export type MainIPCHandlerMap = typeof handlers;
export type MainIPCEventMap = typeof events;