Skip to content

Commit 6d9fb4d

Browse files
committedDec 7, 2020
fix(index.d.ts): add missing SchemaTypeOpts and ConnectionOptions aliases for backwards compat
1 parent a85adb9 commit 6d9fb4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎index.d.ts

+3
Original file line numberDiff line numberDiff line change
@@ -2497,4 +2497,7 @@ declare module "mongoose" {
24972497
interface HookDoneFunction {
24982498
(error?: Error): any;
24992499
}
2500+
2501+
export type SchemaTypeOpts<T> = SchemaTypeOptions<T>;
2502+
export type ConnectionOptions = ConnectOptions;
25002503
}

0 commit comments

Comments
 (0)