template-lint icon indicating copy to clipboard operation
template-lint copied to clipboard

Spread operator bug

Open smajl opened this issue 6 years ago • 0 comments

Hi there, wanna report a bug, very simple - spread operator breaks everything after it:

one(): void {
  const x = {a: 1, ...someObject};
  console.log(x);
}

two(): void {}
<button click.delegate="one()">x</button>
<button click.delegate="two()">y</button> // cannot find 'two' (and everything bellow) in type 'foo'

smajl avatar Mar 15 '18 09:03 smajl