Skip to content

Commit

Permalink
refactor(deno): move types to better named file (#1806)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Nov 15, 2020
1 parent a1d959b commit 2af6013
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ As of `v16`, `yargs` supports [Deno](https://github.com/denoland/deno):

```typescript
import yargs from 'https://deno.land/x/yargs/deno.ts'
import { Arguments } from 'https://deno.land/x/yargs/types.ts'
import { Arguments } from 'https://deno.land/x/yargs/deno-types.ts'

yargs(Deno.args)
.command('download <files...>', 'download a list of files', (yargs: any) => {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/deno/yargs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
assertMatch
} from 'https://deno.land/std/testing/asserts.ts'
import yargs from '../../deno.ts'
import { Arguments } from '../../types.ts'
import { Arguments } from '../../deno-types.ts'

Deno.test('demandCommand(1) throw error if no command provided', () => {
let err: Error|null = null
Expand Down

0 comments on commit 2af6013

Please sign in to comment.