Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
fix: added missing File type export (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessekelly881 authored Nov 13, 2023
1 parent fea76da commit 62cbddb
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/old-books-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@effect/platform-node": patch
"@effect/platform-bun": patch
---

fix: added missing File type export
11 changes: 11 additions & 0 deletions docs/platform-bun/FileSystem.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Added in v1.0.0
- [layer](#layer)
- [layer](#layer-1)
- [model](#model)
- [File](#file)
- [MakeDirectoryOptions](#makedirectoryoptions)
- [MakeTempDirectoryOptions](#maketempdirectoryoptions)
- [MakeTempFileOptions](#maketempfileoptions)
Expand Down Expand Up @@ -58,6 +59,16 @@ Added in v1.0.0
# model
## File
**Signature**
```ts
export declare const File: File
```
Added in v1.0.0
## MakeDirectoryOptions
**Signature**
Expand Down
11 changes: 11 additions & 0 deletions docs/platform-node/FileSystem.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Added in v1.0.0
- [layer](#layer)
- [layer](#layer-1)
- [model](#model)
- [File](#file)
- [MakeDirectoryOptions](#makedirectoryoptions)
- [MakeTempDirectoryOptions](#maketempdirectoryoptions)
- [MakeTempFileOptions](#maketempfileoptions)
Expand Down Expand Up @@ -58,6 +59,16 @@ Added in v1.0.0
# model
## File
**Signature**
```ts
export declare const File: File
```
Added in v1.0.0
## MakeDirectoryOptions
**Signature**
Expand Down
5 changes: 5 additions & 0 deletions packages/platform-bun/src/FileSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
*/

export type {
/**
* @since 1.0.0
* @category model
*/
File,
/**
* @since 1.0.0
* @category model
Expand Down
5 changes: 5 additions & 0 deletions packages/platform-node/src/FileSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ import type { Layer } from "effect/Layer"
import * as internal from "./internal/fileSystem.js"

export type {
/**
* @since 1.0.0
* @category model
*/
File,
/**
* @since 1.0.0
* @category model
Expand Down

0 comments on commit 62cbddb

Please sign in to comment.