Replies: 1 comment
-
I have used the following type for a table with an expected shape. type TTable = SQLiteTableWithColumns<
TableConfig & {
columns: {
id: Column;
expireTime: Column;
deleteTime: Column;
[x: string]: any;
};
}
>; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
do these helper types already exist somewhere in the drizzle codebase?
im writing a reusable library for drizzle, so there is no schema in the library but there is an expected table shape I need to have types for so I can code against it
Beta Was this translation helpful? Give feedback.
All reactions