Skip to content

Commit

Permalink
Fix options
Browse files Browse the repository at this point in the history
  • Loading branch information
chgeo committed Sep 18, 2024
1 parent 387feda commit ddbf910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/facade.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const root: string
export const cli: {
/** Basic command like `serve` */ command?: string,
/** Positional arguments */ argv?: string[],
/** Named arguments */ opts?: Record<string, any>,
/** Named arguments */ options?: Record<string, any>,
} | undefined

import { env } from './env'
Expand Down
2 changes: 1 addition & 1 deletion test/typescript/apis/project/cds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ cds.requires === cds.env.requires

cds.cli!.command = 'foo'
cds.cli!.argv = ['']
cds.cli!.opts = { foo: true }
cds.cli!.options = { foo: true }

0 comments on commit ddbf910

Please sign in to comment.