Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 committed Aug 9, 2024
1 parent 64c8a7d commit 441d4e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-dts/src/apiExtractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type BundleOptions = {
cwd: string;
outDir: string;
dtsExtension: string;
dtsEntry: Required<DtsEntry>;
dtsEntry: DtsEntry;
tsconfigPath?: string;
};

Expand All @@ -37,7 +37,7 @@ export async function bundleDts(options: BundleOptions): Promise<void> {
relative(cwd, outDir),
`${dtsEntry.name}${dtsExtension}`,
);
const mainEntryPointFilePath = dtsEntry.path;
const mainEntryPointFilePath = dtsEntry.path!;
const internalConfig = {
mainEntryPointFilePath,
// TODO: use !externals
Expand Down

0 comments on commit 441d4e3

Please sign in to comment.