Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private error in Typescript #151

Open
formonkey opened this issue May 15, 2021 · 2 comments
Open

Private error in Typescript #151

formonkey opened this issue May 15, 2021 · 2 comments

Comments

@formonkey
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/conf/dist/source/index.d.ts b/node_modules/conf/dist/source/index.d.ts
index 70d6dd0..966f6b8 100644
--- a/node_modules/conf/dist/source/index.d.ts
+++ b/node_modules/conf/dist/source/index.d.ts
@@ -2,7 +2,6 @@
 import { EventEmitter } from 'events';
 import { OnDidChangeCallback, Options, Unsubscribe, Schema, OnDidAnyChangeCallback } from './types';
 declare class Conf<T extends Record<string, any> = Record<string, unknown>> implements Iterable<[keyof T, T[keyof T]]> {
-    #private;
     readonly path: string;
     readonly events: EventEmitter;
     constructor(partialOptions?: Readonly<Partial<Options<T>>>);

This issue body was partially generated by patch-package.

@limpassat
Copy link

This problem for me too

@yangkingg
Copy link

me too too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants