Skip to content
This repository has been archived by the owner on Mar 20, 2022. It is now read-only.

Commit

Permalink
Explicitly export schema namespace
Browse files Browse the repository at this point in the history
This makes it more explicit that we are exporting that namespace.
It will also fix an error when using `eslint-plugin-import` with `import-resolver-typescript`.
As it only considers explicitly exported names to be exported.
  • Loading branch information
gcangussu committed Nov 19, 2020
1 parent 1f6ae6a commit 2262a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
@@ -1,4 +1,4 @@
declare namespace schema {
export namespace schema {
export type StrategyFunction<T> = (value: any, parent: any, key: string) => T;
export type SchemaFunction = (value: any, parent: any, key: string) => string;
export type MergeFunction = (entityA: any, entityB: any) => any;
Expand Down

0 comments on commit 2262a25

Please sign in to comment.