-
Notifications
You must be signed in to change notification settings - Fork 375
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Express and Drizzle both have classes with property methods called get
. It seems to be fine if defined like
get(/* args */) {
/* method */
}
but this line in drizzle: https://github.com/drizzle-team/drizzle-orm/blob/main/drizzle-orm/src/sqlite-core/query-builders/delete.ts#L251
get: ReturnType<this['prepare']>['get'] = (placeholderValues) => {
return this._prepare().get(placeholderValues);
};
causes issues in LLRT when compiled with TS and bundled with rollup.js:
invalid property name
because the compiled result is
get = (e) => this._prepare().get(e);
richarddavison
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working