Closed ben-hn closed 2 weeks ago
Currently when trying to use a config service, I need to
import { DrizzlePostgresConfig } from '@knaadh/nestjs-drizzle-postgres/src/postgres-js.interface';
Could you export it higher up? Thanks!
Try this way - import DrizzlePostgresConfig from "@knaadh/nestjs-drizzle-postgres";
TS2709: Cannot use namespace DrizzlePostgresConfig as a type.
From: Mithlesh Jasrotia @.> Sent: 15 August 2024 3:20 PM To: knaadh/nestjs-drizzle @.> Cc: Ben Woodward @.>; Author @.> Subject: Re: [knaadh/nestjs-drizzle] Expose Configs (Issue #12)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
[EXTERNAL EMAIL] BE ALERT: The sender of this email is outside of HN DO NOT CLICK links or attachments unless you recognize the sender and know the content is safe. If in doubt, use the Report Phishing Button at the top of your Outlook toolbar to report a concern.
Currently when trying to use a config service, I need to
import { DrizzlePostgresConfig } from @.***/nestjs-drizzle-postgres/src/postgres-js.interface';
Could you export it higher up? Thanks!
Try this way - import DrizzlePostgresConfig from @.***/nestjs-drizzle-postgres";
— Reply to this email directly, view it on GitHubhttps://github.com/knaadh/nestjs-drizzle/issues/12#issuecomment-2291357463, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJ2JEIQ4MVOGS4RTDZLNKQLZRS2KHAVCNFSM6AAAAABMSILJGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJRGM2TONBWGM. You are receiving this because you authored the thread.Message ID: @.***>
Disclaimer
This is an email from HN Company Limited. The information contained within this message is intended for the addressee only and may contain confidential and/or privileged information. If you are not the intended recipient, you may not peruse, use, disseminate, distribute, or copy this message. If you have received this message in error, please notify the sender immediately by email or telephone and destroy the original message by deleting it from your inbox and trash/deleted items folder. HN Company Limited accept no responsibility for any changes made to this message after it has been sent by the original author. The views or opinions contained herein do not necessarily represent the views of HN Company Limited. This email or any of its attachments may contain data that falls within the scope of the UK GDPR and Data Protection Act 2018. You must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the UK GDPR and Data Protection Act 2018.
2024 © https://www.hn-company.co.uk/ https://www.hn-company.co.uk/
It worked fine on Bun, so it may not be working with other package managers or Node. So I will export the types in the update.
Currently when trying to use a config service, I need to
import { DrizzlePostgresConfig } from '@knaadh/nestjs-drizzle-postgres/src/postgres-js.interface';
Could you export it higher up? Thanks!