Dimava

Results 62 comments of Dimava
trafficstars

Was this resolved in https://github.com/antfu/eslint-config/commit/794424466eb10d88de1e060bad23f6416703e943 ? If not, what does remain?

Currently chose to go the generic way ```ts scope({ 'OrA': ['T', '=', () => []], item: { foo: 'string' }, foo: 'OrA', list: 'item[]', bar: 'OrA', }) ```

Workaround: use an extra ruleset ```ts export default antfu({ typescript: { tsconfigPath: './tsconfig.json', parserOptions: { EXPERIMENTAL_useProjectService: true, }, }, }, { files: ['**/*.ts'], rules: { 'ts/no-unsafe-argument': 'off', }, }) ```

> @jerome-benoit: What is the cost of that encapsulation? Runner proxy is free (Proxy creation + a couple of function calls, completely free if you cache the `r.runner.fn`) Argument wrapping...

@AriPerkkio I've removed all the args code, now it's as simple as I could get it

It now can open without crashing but can't read data for whatever reason

`asyncRead` function in `node_modules\@serialport\bindings-cpp\dist\load-bindings.js` doesn't call callback

> > `asyncRead` function in `node_modules\@serialport\bindings-cpp\dist\load-bindings.js` doesn't call callback > > asyncRead in the bindings, for darwin, would go down to unixRead is that right? Its all promisy in there,...

I have a working fork of @serialport/bindings-cpp published, you may try it meanwhile ```json "overrides": { "@serialport/bindings-cpp": "npm:@dimava/serialport-bindings-cpp@latest" }, ``` (do note it has binaries so you may want to...

Google links me to https://bun.sh/reference/bun/EventSource what even is that ... I suppose that's EventTarget stuff or something else unrelated