Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 23, 2021. It is now read-only.

Record.get() with optional NSV (TypeScript) #65

Closed
Methuselah96 opened this issue Oct 17, 2020 · 1 comment
Closed

Record.get() with optional NSV (TypeScript) #65

Methuselah96 opened this issue Oct 17, 2020 · 1 comment

Comments

@Methuselah96
Copy link

From @dinony on Tue, 19 Dec 2017 11:25:27 GMT

I'm using v4.0.0-rc.9 with TypeScript.
I wonder why there is no get method in the Record interface without the NSV value.
It results in a lot of .get('..', null) calls. Since I know that there is already a value, given that a record factory already enforces that a value is always present for all keys, it seems unnecessary.

Copied from original issue: immutable-js#1463

@Methuselah96
Copy link
Author

Pretty sure this is fixed by immutable-js#1461.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant