File tree Expand file tree Collapse file tree 3 files changed +147
-70
lines changed Expand file tree Collapse file tree 3 files changed +147
-70
lines changed Original file line number Diff line number Diff line change @@ -394,15 +394,15 @@ export type ProductId = number & {
394
394
// }
395
395
// }
396
396
397
- // TODO: Module Augmentation
398
- // declare module '@stacksjs/dtsx ' {
399
- // interface DtsGenerationConfig {
400
- // customPlugins?: Array<{
401
- // name: string
402
- // transform: (code: string) => string
403
- // }>
404
- // }
405
- // }
397
+ // Module Augmentation
398
+ declare module '@stacksjs/some-module ' {
399
+ interface DtsGenerationConfig {
400
+ customPlugins ?: Array < {
401
+ name : string
402
+ transform : ( code : string ) => string
403
+ } >
404
+ }
405
+ }
406
406
407
407
// Utility Type Implementations
408
408
export type DeepPartial < T > = T extends object ? {
Original file line number Diff line number Diff line change @@ -137,6 +137,14 @@ export declare type UserId = string & { readonly __brand: unique symbol };
137
137
export declare type ProductId = number & {
138
138
readonly __brand : unique symbol
139
139
}
140
+ declare module '@stacksjs/some-module' {
141
+ interface DtsGenerationConfig {
142
+ customPlugins ?: Array < {
143
+ name : string
144
+ transform : ( code : string ) => string
145
+ } >
146
+ }
147
+ }
140
148
export declare type DeepPartial < T > = T extends object ? {
141
149
[ P in keyof T ] ?: DeepPartial < T [ P ] >
142
150
} : T
You can’t perform that action at this time.
0 commit comments