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鈥檒l 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 · 1 comment
Open

Private error in Typescript #151

formonkey opened this issue May 15, 2021 · 1 comment

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

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

2 participants