Skip to content

Commit

Permalink
feat: export types
Browse files Browse the repository at this point in the history
  • Loading branch information
revelt committed Aug 12, 2022
1 parent 3cea69a commit 326f8cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/string-apostrophes/src/main.ts
Expand Up @@ -7,7 +7,7 @@ const version: string = v;

declare let DEV: boolean;

interface Opts {
export interface Opts {
from: number;
to?: number;
value?: string;
Expand Down Expand Up @@ -1150,4 +1150,4 @@ function convertAll(str: string, opts?: Partial<Opts>): convertAllRes {
};
}

export { convertOne, convertAll, defaults, version };
export { convertOne, convertAll, defaults, version, Range, Ranges };
3 changes: 2 additions & 1 deletion packages/string-apostrophes/types/index.d.ts
@@ -1,4 +1,5 @@
import { Ranges } from "ranges-apply";
export { Range, Ranges } from "ranges-apply";

declare const version: string;
interface Opts {
Expand All @@ -23,4 +24,4 @@ interface convertAllRes {
*/
declare function convertAll(str: string, opts?: Partial<Opts>): convertAllRes;

export { convertAll, convertOne, defaults, version };
export { Opts, convertAll, convertOne, defaults, version };

0 comments on commit 326f8cc

Please sign in to comment.