Skip to content

Commit 40a756f

Browse files
drop em
1 parent ba5bf6b commit 40a756f

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

packages/web-domain/src/Folder.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,7 @@ export class Folder extends Schema.Class<Folder>("Folder")({
3939
createdById: Schema.String,
4040
spaceId: Schema.OptionFromNullOr(Schema.String),
4141
parentId: Schema.OptionFromNullOr(FolderId),
42-
}) {
43-
static decodeSync = Schema.decodeSync(Folder);
44-
45-
static toJS = (self: Folder) =>
46-
Schema.encode(Folder)(self).pipe(Effect.orDie);
47-
}
42+
}) {}
4843

4944
export class FolderUpdate extends Schema.Class<FolderUpdate>("FolderPatch")({
5045
id: FolderId,

0 commit comments

Comments
 (0)