Skip to content

Commit 845c8da

Browse files
author
Franck Freiburger
committed
wip: fixing TS errors/warnings
1 parent 5edcde6 commit 845c8da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ export async function loadDeps(refPath : AbstractPath, deps : AbstractPath[], op
383383
/**
384384
* Default implementation of handleModule
385385
*/
386-
async function defaultHandleModule(type : string, getContentData : File['getContentData'], path : AbstractPath, options : Options) : Promise<ModuleExport | null> {
386+
async function defaultHandleModule(type : string, getContentData : File['getContentData'], path : AbstractPath, options : Options) : Promise<ModuleExport | null | undefined> {
387387

388388
switch (type) {
389389
case '.vue': return createSFCModule((await getContentData(false)) as string, path, options);

0 commit comments

Comments
 (0)