Skip to main content
Module

x/rambda/files/NOTES.md

Faster and smaller alternative to Ramda
Go to Latest
File

=== export function append(xToAppend: T): (iterable: T[]) => T[]; is added for consistency and as a fallback just in case as there is no spec to cover this case

// cannot be tested with let list = [] because of implicit any

=== “moduleResolution”:”node”,

import {createPipe, filter as filterRemeda} from ‘remeda’

test(‘remeda test’, () => { interface MyTestType{value:string} const list: MyTestType[] = [{ value: ‘aaaa’ }, { value: ‘bbb’ }]

let result = createPipe(filterRemeda((x) => x.value.includes(‘a’)))(list) result // $ExpectType MyTestType[] })

=== still issue with order of rambda.js