Skip to content

Commit

Permalink
fix(deno): update types for deno ^1.4.0 (yargs#330)
Browse files Browse the repository at this point in the history
In version 1.4 Deno adopted;

- the tsconfig setting [importsNotUsedAsValues](https://www.typescriptlang.org/tsconfig#importsNotUsedAsValues) - denoland/deno#7413

This requires the use of;
- type only imports for values which are only used as types (`importsNotUsedAsValues`)
  • Loading branch information
luke-john authored Oct 1, 2020
1 parent 98584bf commit 0ab92e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import * as path from 'https://deno.land/std/path/mod.ts'
import { camelCase, decamelize, looksLikeNumber } from './build/lib/string-utils.js'
import { YargsParser } from './build/lib/yargs-parser.js'
import { Arguments, ArgsInput, Parser, Options, DetailedArguments } from './build/lib/yargs-parser-types.d.ts'
import type { Arguments, ArgsInput, Parser, Options, DetailedArguments } from './build/lib/yargs-parser-types.d.ts'

const parser = new YargsParser({
cwd: Deno.cwd,
Expand Down

0 comments on commit 0ab92e5

Please sign in to comment.