File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -394,15 +394,15 @@ export type ProductId = number & {
394394// }
395395// }
396396
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+ }
406406
407407// Utility Type Implementations
408408export 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 };
137137export declare type ProductId = number & {
138138 readonly __brand : unique symbol
139139}
140+ declare module '@stacksjs/some-module' {
141+ interface DtsGenerationConfig {
142+ customPlugins ?: Array < {
143+ name : string
144+ transform : ( code : string ) => string
145+ } >
146+ }
147+ }
140148export declare type DeepPartial < T > = T extends object ? {
141149 [ P in keyof T ] ?: DeepPartial < T [ P ] >
142150} : T
You can’t perform that action at this time.
0 commit comments