Skip to content

Commit

Permalink
chore: fix some comments (#1114)
Browse files Browse the repository at this point in the history
  • Loading branch information
timesince authored Aug 11, 2024
1 parent 1a4456e commit 43ae280
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ for all cases, are best left for consumers to implement.

5. create a branch.

6. create a draft pull request. link the relevant issue by refering to it in the
6. create a draft pull request. link the relevant issue by referring to it in the
PR's description. E.g. `closes #123` will link the PR to issue/pull request #123.

7. implement your changes.
Expand Down
2 changes: 1 addition & 1 deletion example/test/test-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class TestContext {
await sql`create database ${sql.id(database!)}`.execute(adminDb)
await adminDb.destroy()

// Now connect to the test databse and run the migrations
// Now connect to the test database and run the migrations
const db = new Kysely<any>({
dialect: new PostgresDialect({
pool: new Pool(testConfig.database),
Expand Down
2 changes: 1 addition & 1 deletion test/typings/test-d/if.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function testIfInInsert(db: Kysely<Database>) {

expectType<{ first_name: string; last_name?: string | null }>(r2)

// Conditional ingore in insert
// Conditional ignore in insert
const [r3] = await db
.insertInto('person')
.values({ first_name: 'Foo', last_name: 'Bar', gender: 'other', age: 0 })
Expand Down

0 comments on commit 43ae280

Please sign in to comment.