Skip to content
Permalink
Browse files
fix(deno): update types for deno ^1.4.0 (#100)
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 committed Oct 1, 2020
1 parent 9c8a079 commit 3834d9ab1332f2937c935ada5e76623290efae81
Showing with 1 addition and 1 deletion.
  1. +1 −1 deno.ts
@@ -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) => {

0 comments on commit 3834d9a

Please sign in to comment.