Skip to content

Commit

Permalink
fix: remove allowImportingTsExtensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Aericio committed May 28, 2024
1 parent e7f9327 commit c6fe773
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import postgres from "postgres";
import { drizzle } from "drizzle-orm/postgres-js";
import { cosmetics, players } from "./schema.ts";
import { cosmetics, players } from "./schema";

/**
* @param connectionString See {@link https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-URIS Postgres Connection URIs}
Expand All @@ -16,5 +16,5 @@ export default function initializeDatabase({
return { client, db };
}

export * from "./types.ts";
export { CosmeticSchema, PlayerSchema } from "./schema.ts";
export * from "./types";
export { CosmeticSchema, PlayerSchema } from "./schema";
2 changes: 1 addition & 1 deletion src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
CosmeticLocalizedString,
CosmeticRating,
PlayerAvatar,
} from "./types.ts";
} from "./types";
import { sql } from "drizzle-orm";
import { z } from "zod";

Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,

Expand Down

0 comments on commit c6fe773

Please sign in to comment.