Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
29
node_modules/which-pm/index.d.ts
generated
vendored
Normal file
29
node_modules/which-pm/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
declare function whichpm (pkgPath: string): Promise<whichpm.Result | null>
|
||||
|
||||
declare namespace whichpm {
|
||||
type Result = NPM | YARN | PNPM | BUN | Other
|
||||
|
||||
interface NPM {
|
||||
readonly name: 'npm'
|
||||
}
|
||||
|
||||
interface YARN {
|
||||
readonly name: 'yarn'
|
||||
}
|
||||
|
||||
interface PNPM {
|
||||
readonly name: 'pnpm'
|
||||
readonly version: string
|
||||
}
|
||||
|
||||
interface BUN {
|
||||
readonly name: 'bun'
|
||||
}
|
||||
|
||||
interface Other {
|
||||
readonly name: string
|
||||
readonly version?: string
|
||||
}
|
||||
}
|
||||
|
||||
export = whichpm
|
Reference in New Issue
Block a user