Skip to content

Commit

Permalink
fix: typescript export notation for DenonConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedansh Patel committed Sep 26, 2020
1 parent f81098e commit 7858474
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ scripts:
Denon configuration can be provided as a `.config.ts` file:

```typescript
import { DenonConfig } from "https://deno.land/x/denon/mod.ts";
import type { DenonConfig } from "https://deno.land/x/denon/mod.ts";
const config: DenonConfig = {
scripts: {
Expand Down
3 changes: 2 additions & 1 deletion mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * from "./denon.ts";
export * from "./src/watcher.ts";
export * from "./src/runner.ts";

export { DenonConfig, DEFAULT_DENON_CONFIG } from "./src/config.ts";
export { DEFAULT_DENON_CONFIG } from "./src/config.ts";
export type { DenonConfig } from "./src/config.ts";

0 comments on commit 7858474

Please sign in to comment.