Skip to content
Myr

Merge branch 'flow-fixes'

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

authored by Michel Weststrate · committed by Michel Weststrate · parents 18eb760, ecee9e4 · Browse files · 6 files+48 added−4 removed
This commit

State

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

Diff stats

6 files+48 added−4 removed

  • tests:+32 added−0 removed
  • other:+16 added−4 removed

6 files+48 added−4 removed

added:__tests__/flow/flow.js+32 added
modified:src/immer.js.flow-2 removed
1// @flow23declare export function extendShallowObservable(target: any): any43/**4 * Immer takes a state, and runs a function against it.5 * That function can freely mutate the state, as it will create copies-on-write.6 * This means that the original state will stay unchanged, and once the function finishes, the modified state is returned
39 unmodified lines
added:.flowconfig+8 added
1[ignore]2.*/node_modules34[include]5__tests__/flow67[options]8suppress_comment= \\(.\\|\n\\)*\\$ExpectError
modified:.travis.yml+1 added-1 removed
modified:package.json+3 added-1 removed
modified:yarn.lock+4 added
1371 unmodified lines
1372 resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7"1373 dependencies:1374 locate-path "^2.0.0"13751376flow-bin@^0.64.0:1377 version "0.64.0"1378 resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.64.0.tgz#ddd3fb3b183ab1ab35a5d5dec9caf5ebbcded167"13791380for-in@^1.0.1:1381 version "1.0.2"1382 resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"1383
2155 unmodified lines