Skip to content

Commit

Permalink
✨ expose option-related types
Browse files Browse the repository at this point in the history
* ✨ expose option-related types

Close #85
  • Loading branch information
momocow authored Mar 13, 2023
1 parent 96cf022 commit cc5aa61
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,5 @@ import { UserscriptPlugin } from './plugin';

export default UserscriptPlugin;

export {
LoadHeadersOptions,
ProxyScriptOptions,
RenderHeadersOptions,
ResolveBaseURLsOptions,
SSRIOptions,
ValidateHeadersOptions,
} from './features';
export * from './plugin';
export * from './types';
17 changes: 17 additions & 0 deletions lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,20 @@ export type UserscriptOptions = LoadHeadersOptions &
RenderHeadersOptions &
ValidateHeadersOptions &
UserscriptPluginOptions;

export {
Feature,
HeaderClass,
HeadersProvider,
LoadHeadersOptions,
ProxyScriptFeatureOptions,
ProxyScriptOptions,
RenderHeadersOptions,
ResolveBaseURLsOptions,
SSRIAlgorithm,
SSRIFeatureOptions,
SSRIOptions,
SSRITag,
URLFilter,
ValidateHeadersOptions,
} from './features';

0 comments on commit cc5aa61

Please sign in to comment.