Skip to content

fix(deno): update types for deno ^1.4.0#100

Merged
bcoe merged 1 commit intoyargs:masterfrom
luke-john:YARGS-1771_support-new-deno-version
Oct 1, 2020
Merged

fix(deno): update types for deno ^1.4.0#100
bcoe merged 1 commit intoyargs:masterfrom
luke-john:YARGS-1771_support-new-deno-version

Conversation

@luke-john
Copy link
Copy Markdown
Contributor

@luke-john luke-john commented Sep 30, 2020

In version 1.4 Deno adopted;

This requires the use of;

  • type only imports for values which are only used as types (importsNotUsedAsValues)

I've added more details at yargs/yargs#1771.

related prs:

@bcoe
Copy link
Copy Markdown
Member

bcoe commented Oct 1, 2020

@luke-john mind making this PR against the main branch, deno is created automatically.

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`)
@luke-john luke-john force-pushed the YARGS-1771_support-new-deno-version branch from bb2610a to 230f690 Compare October 1, 2020 12:51
@luke-john luke-john changed the base branch from deno to master October 1, 2020 12:51
@luke-john
Copy link
Copy Markdown
Contributor Author

Updated to be target master (with the ci commit on the deno branch removed). cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants