Skip to content

Commit

Permalink
Merge pull request glimmerjs#922 from pzuraq/patch-1
Browse files Browse the repository at this point in the history
Use type generic for `scope()` function
  • Loading branch information
krisselden authored Mar 8, 2019
2 parents 49ee3f8 + 8ddd415 commit bb658e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@glimmer/runtime/lib/vm/append.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ export default abstract class VM<C extends JitOrAotBlock> implements PublicVM, I
return this.elementStack;
}

scope(): Scope<JitOrAotBlock> {
scope(): Scope<C> {
return expect(this[STACKS].scope.current, 'expected scope on the scope stack');
}

Expand Down

0 comments on commit bb658e8

Please sign in to comment.