Skip to content

Commit 350bbb5

Browse files
DavertMikclaude
andcommitted
fix(typings): suppress duplicate identifier for new helper config types
CDPBrowserConfig, ObscuraConfig and KitesurfConfig get the same fixDefFiles ts-ignore treatment as the existing helper config types, matching how PlaywrightConfig/PuppeteerConfig/RESTConfig/WebDriverConfig duplicates between types.d.ts and promiseBasedTypes.d.ts are handled. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 4c98923 commit 350bbb5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

typings/fixDefFiles.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@ function modifyContent(content) {
3333
.replace(/ type PuppeteerConfig = {/, ' // @ts-ignore\n' + ' type PuppeteerConfig = {')
3434
.replace(/ type RESTConfig = {/, ' // @ts-ignore\n' + ' type RESTConfig = {')
3535
.replace(/ type WebDriverConfig = {/, ' // @ts-ignore\n' + ' type WebDriverConfig = {')
36+
.replace(/ type CDPBrowserConfig = {/, ' // @ts-ignore\n' + ' type CDPBrowserConfig = {')
37+
.replace(/ type ObscuraConfig = {/, ' // @ts-ignore\n' + ' type ObscuraConfig = {')
38+
.replace(/ type KitesurfConfig = {/, ' // @ts-ignore\n' + ' type KitesurfConfig = {')
3639
return modifiedContent
3740
}

0 commit comments

Comments
 (0)