Herman Klushin

Results 3 comments of Herman Klushin

Tried several ways, but chai-things do not work in typescript: ``` import { expect, use } from 'chai'; use(require('chai-things')); expect(actual).all.have.property("Id", fixture.Id); --- test.ts:162:24 - error TS2339: Property 'have' does not...

> Any idea why they didn't removed it yet ? I made the PR for them, but... https://github.com/C2FO/fast-csv/pull/774

Props inside the iface is array, so only way to implement this lookup like ``` private _compileIndexedAccessType(node: ts.IndexedAccessTypeNode): string { return `this.${node.objectType.getText()}.props.find(prop => prop.name === ${node.indexType.getText()})`; } ``` Guys I...