Skip to content

Commit

Permalink
Mark module as side-effect-free
Browse files Browse the repository at this point in the history
  • Loading branch information
DallasHoff committed Aug 1, 2024
1 parent 2222cc6 commit 3581887
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"import": "./dist/kysely/index.js"
}
},
"sideEffects": false,
"files": [
"dist",
"src"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/exec-on-db.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RawResultData, Sqlite3Db, Sqlite3Method } from '../types.js';
import type { RawResultData, Sqlite3Db, Sqlite3Method } from '../types.js';

export function execOnDb(
db: Sqlite3Db,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/get-query-key.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { nanoid } from 'nanoid';
import { QueryKey } from '../types.js';
import type { QueryKey } from '../types.js';

export function getQueryKey(): QueryKey {
return nanoid();
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sql-tag.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Statement } from '../types.js';
import type { Statement } from '../types.js';

export function sqlTag(
queryTemplate: TemplateStringsArray,
Expand Down

0 comments on commit 3581887

Please sign in to comment.