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 91a9305 commit 8fd7dfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/object-fill-missing-keys/src/main.ts
Expand Up @@ -8,10 +8,10 @@ import { version as v } from "../package.json";

const version: string = v;

interface Obj {
export interface Obj {
[key: string]: any;
}
interface Opts {
export interface Opts {
placeholder: boolean;
doNotFillThesePathsIfTheyContainPlaceholders: string[];
useNullAsExplicitFalse: boolean;
Expand Down
2 changes: 1 addition & 1 deletion packages/object-fill-missing-keys/types/index.d.ts
Expand Up @@ -14,4 +14,4 @@ declare function fillMissing(
opts?: Partial<Opts>
): Obj;

export { defaults, fillMissing, version };
export { Obj, Opts, defaults, fillMissing, version };

0 comments on commit 8fd7dfe

Please sign in to comment.