-
Notifications
You must be signed in to change notification settings - Fork 0
Add Blah type alias as union of BlahBlu and Foo in Config namespace #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
export namespace Config { | ||
export type BaseRequestConfig = RequestConfig; | ||
export type Error = AxiosError | HttpException; | ||
export type Blah = BlahBlu | Foo; | ||
Check failure on line 19 in src/config.ts GitHub Actions / Build (18.x)
Check failure on line 19 in src/config.ts GitHub Actions / Build (18.x)
Check failure on line 19 in src/config.ts GitHub Actions / Build (20.x)
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainFix compilation errors: undefined types The type alias references You need to either:
Please run this script to search for these type definitions in the codebase: 🏁 Script executed: #!/bin/bash # Description: Search for BlahBlu and Foo type definitions in the codebase # Expected: Find where these types are defined or confirm they don't exist echo "Searching for BlahBlu type definition..." ast-grep --pattern 'type BlahBlu = $$$' ast-grep --pattern 'interface BlahBlu { $$$ }' rg -A 3 "BlahBlu" echo "Searching for Foo type definition..." ast-grep --pattern 'type Foo = $$$' ast-grep --pattern 'interface Foo { $$$ }' rg -A 3 "Foo" Length of output: 677 Fix missing type definitions in src/config.ts The Please address this by choosing one of the following:
[file: src/config.ts, line 19] export type Blah = BlahBlu | Foo; 🧰 Tools🪛 GitHub Check: Build (20.x)[failure] 19-19: [failure] 19-19: 🪛 GitHub Check: Build (18.x)[failure] 19-19: [failure] 19-19: 🪛 GitHub Actions: CI[error] 19-19: TypeScript error TS2304: Cannot find name 'BlahBlu'. 🤖 Prompt for AI Agents
|
||
|
||
export type Authentication = UtilityTypes.XOR3< | ||
{ | ||
|