Skip to content

Instantly share code, notes, and snippets.

@MonsieurMan
Last active August 10, 2018 09:17
Show Gist options
  • Select an option

  • Save MonsieurMan/04440fa2d63be0f47d3a1b0def2c2989 to your computer and use it in GitHub Desktop.

Select an option

Save MonsieurMan/04440fa2d63be0f47d3a1b0def2c2989 to your computer and use it in GitHub Desktop.

Revisions

  1. MonsieurMan revised this gist Aug 10, 2018. 1 changed file with 0 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions new-test.spec.ts
    Original file line number Diff line number Diff line change
    @@ -1,4 +0,0 @@
    it('updates the result if we change the props', () => {
    element.a = 0;
    expect(element.textContent).toEqual('2');
    });
  2. MonsieurMan revised this gist Aug 10, 2018. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions new-test.spec.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    it('updates the result if we change the props', () => {
    element.a = 0;
    expect(element.textContent).toEqual('2');
    });
  3. MonsieurMan created this gist Aug 10, 2018.
    4 changes: 4 additions & 0 deletions updated-component.d.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    interface Adder {
    'a': number;
    'b': number;
    }