Skip to content

Commit

Permalink
fix(deno): update types for deno ^1.4.0 (#100)
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 9c8a079 commit 3834d9a
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
@@ -1,5 +1,5 @@
import { y18n as _y18n } from './build/lib/index.js'
import { Y18NOpts } from './build/lib/index.d.ts'
import type { Y18NOpts } from './build/lib/index.d.ts'
import shim from './lib/platform-shims/deno.ts'

const y18n = (opts: Y18NOpts) => {
Expand Down

0 comments on commit 3834d9a

Please sign in to comment.