Skip to content

Conversation

@secret-point
Copy link

No description provided.

Copy link
Contributor

@shah shah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check to see if any changes were required in the unit test?


// deno-lint-ignore no-explicit-any
type Any = any; // make it easier on Deno linting
interface ForeignKeyReference<Context extends SQLa.SqlEmitContext> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be exportable by default.

// deno-lint-ignore no-explicit-any
type Any = any; // make it easier on Deno linting
interface ForeignKeyReference<Context extends SQLa.SqlEmitContext> {
tableName: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use readonly properties by default.

type Any = any; // make it easier on Deno linting
interface ForeignKeyReference<Context extends SQLa.SqlEmitContext> {
tableName: string;
columnName: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use readonly properties by default.

export interface EnumTableDefn<Context extends SQLa.SqlEmitContext> {
readonly enumTableNature: "text" | "numeric";
readonly seedDML: string | SQLa.SqlTextSupplier<Context>[];
references: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use readonly properties by default (readonly references).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants