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

Export public interface #70

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Export public interface #70

merged 1 commit into from
Aug 9, 2023

Conversation

BenjaminGrayNp1
Copy link
Contributor

Exports the types involved in the public interface to remain compatible with existing users.

The object extension of the SSHConfig class is converted to static methods to allow SSHConfig to be used as a type.

Separator is exported because it is the type of Directive::separator, but Space is only used internally so not exported.


Fixes #69

There are still remaining errors, but they are due to that package not handling the string | string[] value type correctly, so nothing really to do here.

Exports the types involved in the public interface to remain compatible
with existing users.

The object extension of the SSHConfig class is converted to static
methods to allow SSHConfig to be used as a type.

Separator is exported because it is the type of Directive::separator,
but Space is only used internally so not exported.

Signed-off-by: Benjamin Gray <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Aug 8, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02% 🎉

Comparison is base (6cde6d3) 96.96% compared to head (e722887) 96.98%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
+ Coverage   96.96%   96.98%   +0.02%     
==========================================
  Files           3        3              
  Lines         297      299       +2     
  Branches       81       81              
==========================================
+ Hits          288      290       +2     
  Misses          4        4              
  Partials        5        5              
Files Changed Coverage Δ
src/ssh-config.ts 96.78% <100.00%> (+0.02%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Successfully merging this pull request may close these issues.

Verify public interface
3 participants