Skip to content
Myr

test(ts): stop testing latest typescript

Before adoption: this commit came in with the history the project adopted, so no landing records it.

And fix a test case

authored by Michel Weststrate · committed by Alec Larson · parent b5abaed · Browse files · 2 files+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+1 added−2 removed

  • tests:+1 added−1 removed
  • other:+0 added−1 removed

2 files+1 added−2 removed

modified:__tests__/produce.ts+1 added-1 removed
273 unmodified lines
274 let base = _ as {readonly a: number}275 let result = produce(base, draft => draft)276277 // Currently, the `readonly` modifier is lost.278 assert(result, _ as {a: number} | undefined)278 assert(result, _ as {a: number})279})280281it("can return a promise", () => {282 type Base = {readonly a: number}
121 unmodified lines
modified:.travis.yml-1 removed