Skip to content

Commit

Permalink
fix(index.d.ts): add missing SchemaTypeOpts and ConnectionOptions
Browse files Browse the repository at this point in the history
… aliases for backwards compat
  • Loading branch information
vkarpov15 committed Dec 7, 2020
1 parent a85adb9 commit 6d9fb4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.d.ts
Expand Up @@ -2497,4 +2497,7 @@ declare module "mongoose" {
interface HookDoneFunction {
(error?: Error): any;
}

export type SchemaTypeOpts<T> = SchemaTypeOptions<T>;
export type ConnectionOptions = ConnectOptions;
}

0 comments on commit 6d9fb4d

Please sign in to comment.