Anton Mikhailov
Anton Mikhailov
What was in this file? Is it deprecated now?
Hi, @denisw ! First of all, great lib! I have a couple suggestions. Just wanted to know if you are interesting in any of them )). Add payload creator option...
```javascript const entityTypeMapper = (...pairs) => R.cond([ ...pairs.map(([from, to]) => [R.propEq('type', from), R.assoc('type', to)]), [R.T, R.identity], ]); ``` ESLint config extended from `plugin:ramda/recommended`
The only way to access ramda in `jest.mock` is `jest.mock('module', () => jest.requireActual('ramda').T)`. So it's not as convenient to use ramda in mocks. Maybe plugin can detect inline mocks and...
Qml [is](http://doc.qt.io/qt-5/qmlreference.html) [Here](doc.qt.io/qt-5/qtqml-javascript-resources.html) is example of how you can import js library in to qml
``` import { Buffer } from 'buffer'; declare const messageRaw: ArrayBuffer; const message = Buffer.from(messageRaw); const headCorrect = message.slice(0, size).toString('utf-8'); // 57,57,97,102,101,102,56,57,97.... const headIncorrect = message.subarray(0, size).toString('utf-8'); // 99af... ```
```ts const r = require('radash') const result = r.assign({ a: {g:5} }, { a: null }) console.log(result) ``` Expected result would be `{ a: null }`, but it is `{...
`isPromise` doesn't really checks for value to be instance of `Promise` class, it checks if value is promise like, so it should return correct typings It should be ``` export...