Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Fix TypeScript typings#15

Closed
Richienb wants to merge 1 commit intoreplit:masterfrom
Richienb:patch-2
Closed

Fix TypeScript typings#15
Richienb wants to merge 1 commit intoreplit:masterfrom
Richienb:patch-2

Conversation

@Richienb
Copy link

Correctly define how the database class is exported.

@Richienb
Copy link
Author

// @kochman

@cobaltt7
Copy link

Bruh

#14

@Richienb
Copy link
Author

Bruh

#14

This PR improves on that one with a more succicient exporting syntax.

@louy
Copy link

louy commented Nov 24, 2021

if anyone is struggling until this is merged, here's a temporary solution:

const Client = require("@replit/database");
import type {Client as replClient} from "@replit/database"
const dbClient: replClient = new Client();

@cobaltt7 cobaltt7 mentioned this pull request Dec 8, 2021
@masad-frost
Copy link
Member

masad-frost commented Mar 31, 2024

resolved in #52

thank you for your contribution

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants