Skip to content

Commit 851e8a6

Browse files
Michael DavisMichael Davis
authored andcommitted
updating builtin type prefixes
1 parent 96b82ba commit 851e8a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/tsgen/factory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,11 @@ export default function (userOptions: TSGenOptions) {
262262
}
263263

264264
function type_link() {
265-
return 'Link'
265+
return `${options.naming?.prefix}Link`
266266
}
267267

268268
function type_file() {
269-
return 'File'
269+
return `${options.naming?.prefix}File`
270270
}
271271

272272
function type_global_field(field: ContentstackTypes.GlobalField) {

0 commit comments

Comments
 (0)