NestarZ
NestarZ
Explore posts from servers
KKysely
Created by NestarZ on 6/12/2024 in #help
Is it possible to do "for await (const iterator of db.selectFrom("table").selectAll()) {....}
I was looking here: https://kysely.dev/docs But you are right that's also the main documentation of the API, but the search is a bit less "natural"
7 replies
KKysely
Created by NestarZ on 6/12/2024 in #help
Is it possible to do "for await (const iterator of db.selectFrom("table").selectAll()) {....}
Hey!! Nope ! Thanks that's what I was looking for, but it wasn't in the main documentation I think (?)
7 replies
DDeno
Created by NestarZ on 5/8/2024 in #help
Like import.meta.resolve("./bla/bla") but so that it return me the relative cwd path
thank you @lucacasonato
4 replies
KKysely
Created by NestarZ on 2/29/2024 in #help
How to loop an array and based on this create a dynamic CTE but preserve type ?
ok thanks will try!! congratz on your helpful work
7 replies
KKysely
Created by NestarZ on 2/29/2024 in #help
How to loop an array and based on this create a dynamic CTE but preserve type ?
ok!! so I can’t apply a reduce function to a QueryBuilder type ?
7 replies
DDeno
Created by NestarZ on 2/29/2024 in #help
Why JSX is not working ?
And this // @deno-types="@types/react" import React from "react"; const A: React.FC = () => <div />; const B: React.FC = () => <A />; do TS2786 [ERROR]: 'A' cannot be used as a JSX component. Its type 'FC<{}>' is not a valid JSX element type. Type 'FunctionComponent<{}>' is not assignable to type '(props: any, deprecatedLegacyContext?: any) => ReactNode'. Type 'ReactElement<any, any> | null' is not assignable to type 'ReactNode'. Type 'ReactElement<any, any>' is not assignable to type 'ReactNode'. Property 'children' is missing in type 'ReactElement<any, any>' but required in type 'ReactPortal'. const B: React.FC = () => <A />; ^ at file:///Users/code/bureaudouble/bureau/src/routes/Home.tsx:23:28 'children' is declared here. children: ReactNode; ~~~~ at file:///Users/Library/Caches/deno/npm/registry.npmjs.org/@types/react/18.2.57/index.d.ts:326:9
3 replies
DDeno
Created by NestarZ on 2/24/2024 in #help
How to apply @deno-types on a dynamic import
??
4 replies
DDeno
Created by NestarZ on 2/24/2024 in #help
How to apply @deno-types on a dynamic import
Can an human confirm Deno dont support dynamic imports for added types ? Should an issue be open ?
4 replies