Skip to content

Commit

Permalink
fix(ssg): Remove ArrayBuffer from FileSystemModule's writeFile (#2032)
Browse files Browse the repository at this point in the history
  • Loading branch information
watany-dev authored Jan 19, 2024
1 parent 24723ff commit 1f46aa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno_dist/helper/ssg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { joinPaths, dirname } from './utils.ts'
* The API might be changed.
*/
export interface FileSystemModule {
writeFile(path: string, data: string | ArrayBuffer | Uint8Array): Promise<void>
writeFile(path: string, data: string | Uint8Array): Promise<void>
mkdir(path: string, options: { recursive: boolean }): Promise<void | string>
}

Expand Down
2 changes: 1 addition & 1 deletion src/helper/ssg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { joinPaths, dirname } from './utils'
* The API might be changed.
*/
export interface FileSystemModule {
writeFile(path: string, data: string | ArrayBuffer | Uint8Array): Promise<void>
writeFile(path: string, data: string | Uint8Array): Promise<void>
mkdir(path: string, options: { recursive: boolean }): Promise<void | string>
}

Expand Down

0 comments on commit 1f46aa1

Please sign in to comment.