Adam Pietrasiak
Adam Pietrasiak
I've got files structure, where child components of some main components are in sub-folders. eg `TaskEditor/index.tsx`, `TaskEditor/Comments/index.tsx` etc. So when I search for `TaskEditor` I've got  (and actually it...
``` import { Date as SugarDate } from 'sugar'; SugarDate.create('tomorrow'); // is ok SugarDate.create('tomorrow').isValid(); // error: isValid is not a function SugarDate.isValid(SugarDate.create('tomorrow')); // works but it's crazy. ``` How do...
If I do `import Sugar from 'sugar` I've got all type definitions for `Sugar.Date` etc, but if I import only part of sugar eg. `import SugarDate from 'sugar/date'` I'm not...
https://statek.dev
I wanted to propose adding an optional placeholder name to the syntax and ask you what do you think about it? Example: ```ts const fileName = "file.txt"; fileName |> addServerPath(%)...
`GraphqlFieldConfig` interface for defining types is glueing code definition with this very framework/boilerplate. What do you think about using some external library like https://github.com/prismake/typegql ```ts @ObjectType({ description: 'Simple product object...