Skip to content

Commit

Permalink
feat: improve deep package API and update dependent packages
Browse files Browse the repository at this point in the history
  • Loading branch information
vitoke committed May 26, 2022
1 parent 84baeda commit da8c240
Show file tree
Hide file tree
Showing 36 changed files with 1,923 additions and 1,633 deletions.
4 changes: 2 additions & 2 deletions deno_dist/actor/actor.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Immutable } from '../deep/mod.ts';
import type { Protected } from '../deep/mod.ts';
import type { Obs } from './internal.ts';

class Impl<T, P extends Record<string, unknown>, D> implements Actor<T, D> {
Expand All @@ -14,7 +14,7 @@ class Impl<T, P extends Record<string, unknown>, D> implements Actor<T, D> {
return this.actor.obsReadonly;
}

get state(): Immutable<T & D> {
get state(): Protected<T & D> {
return this.actor.state;
}
}
Expand Down

0 comments on commit da8c240

Please sign in to comment.