deno.land / x / rambda@v9.1.1 / files / waiting / deletePath-spec.ts

deletePath-spec.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import {deletePath} from 'rambda'
describe('R.deletePath', () => { it('happy', () => { interface Output { a: number, b: { c: number, }, } const input = {a: 1, b: {c: 2, d: 3}} const result = deletePath<Output>('a.d', input)
result // $ExpectType Output })})
rambda

Version Info

Tagged at
a year ago