Kind: Function
Source: src/helper/ssg/ssg.ts
Part of: Helper
Signature
tsasync function saveContentToFile(data: Promise<{ routePath: string; content: string | ArrayBuffer; mimeType: string } | undefined>, fsModule: FileSystemModule, outDir: string, extensionMap: Record<string, string>): Promise<string | undefined>
Parameters
| Name | Type |
|---|---|
data | `Promise<{ routePath: string; content: string |
fsModule | FileSystemModule |
outDir | string |
extensionMap | Record<string, string> |
Returns: Promise<string | undefined>
Was this page helpful?