You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2026 noted a change in 6b3e3cb that starting throwing Type errors. #2026 was closed yesterday by 8fb3738 - but it looks like one of the mistakes in 6b3e3cb was unaddressed by 8fb3738. Line 149 of the type declaration still marks params as a record, so we're still dealing with Type errors.
If it's helpful to any others, my workaround is:
import alasql, { Database as DatabaseFunction } from "alasql";
type Database = Omit<InstanceType<typeof DatabaseFunction>, "exec"> & {
exec: <T>(str: string, args?: unknown[]) => Readonly<T[]>;
};
The text was updated successfully, but these errors were encountered:
#2026 noted a change in 6b3e3cb that starting throwing Type errors. #2026 was closed yesterday by 8fb3738 - but it looks like one of the mistakes in 6b3e3cb was unaddressed by 8fb3738. Line 149 of the type declaration still marks params as a record, so we're still dealing with Type errors.
If it's helpful to any others, my workaround is:
The text was updated successfully, but these errors were encountered: