Alex Kunin

Results 15 comments of Alex Kunin

Apparently this is what happens: 1. babel/cli reads arguments and builds option object which is later passed to babel/core 2. babel/core does all code processing and returns results as JS...

I believe you can do that like this: ```ts const MyQueryField = queryField('seeFeed', { type: '...', resolve: protectedResolver((_, { offset }, { loggedInUser }) => client.photo.findMany({ /* ... */ })...

I have similar problem with Jest tests in Angular project, it has `{ "globals": { "ts-jest": { "isolatedModules": true } } }`, which basically means Types are not compiled, but...

> [...] this seems like it's working as intended. By the time the `Promise` resolves, the containing component is already destroyed. The `.then` callback does `.subscribe()`, which subscribes through the...

@dwilches It seems with CVA it's a somewhat different issue, albeit with a similar symptom. There is a `cleanUpControl` function ([source code](https://github.com/angular/angular/blob/58a8f124b0b61ae3ac59339ce0ae0dd444246b52/packages/forms/src/directives/shared.ts#L94-L132)) which: > Reverts configuration performed by the `setUpControl`...

Here is a [Codepen](https://codepen.io/alexkunin/pen/MWRebQJ?editors=101) with minimal reproduction. Just click field caption -- "Pick a date" -- to see the behavior described above. So, it seems the following is what's happening:...

Created a PR with possible solution: 1. In `q-field` an object is provided as `q-field-container`, with `swallowClick(flag)` setter which controls event swallowing behavior (this behavior is disabled by default, can...

Can't say I'm 100% sure I have solution to this, but here is the way to get rid of that error ([StackBlitz](https://stackblitz.com/edit/stackblitz-starters-wthnbh?file=src%2Fmain.ts) included): ```ts type Cr = () => {success:true,message:string}...

@tomer953 , try the following approach ([playground](https://stackblitz.com/edit/github-iffm9l?file=src%2Fapp%2Fstore%2Factions.ts)): ```ts const pcDataProps2 = ( obj: K extends PcDataKey ? { key: K; data: PcDataType } : never ) => obj; export const...

I've noticed the following: unexpected emits for `Test` fire until first `Test` is actually created. This allowed me to track the problem down to [this](https://github.com/ngrx/platform/blob/25bf8441da05246c02ea01eb336ddb51f70c9b13/modules/data/src/selectors/entity-selectors.ts#L126-L136): ```ts createCollectionSelector< T = any,...