Type '{ (moduleName: string, containingFile: string, options: CompilerOptions, moduleResolutionHost: ModuleResolutionHost, realResolveModuleName: (moduleName: string, containingFile: string, options: CompilerOptions, moduleResolutionHost: ResolvedModuleWithFailedLookupLocations) => ResolvedModuleWithFailedLookupLocations)...' is not assignable to type 'number'.