Skip to content

Commit e86a112

Browse files
authored
Generate with export namespace auth
1 parent b22b1e0 commit e86a112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schema/src/plugins/enhancer/enhance/auth-type-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export function generateAuthType(model: Model, authModel: DataModel) {
106106
// }
107107
// `
108108

109-
return `namespace auth {
109+
return `export namespace auth {
110110
type WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };
111111
${Array.from(types.entries())
112112
.map(([model, fields]) => {

0 commit comments

Comments
 (0)