Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
fix: export types as FancyTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 26, 2018
1 parent ee9b8b6 commit 716d3b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import nock, {NockScope} from './nock'
import {stderr, stdout} from './stdmock'
import stub from './stub'

import * as FancyTypes from './types'

export const fancy = base
.register('catch', _catch)
.register('env', env)
Expand All @@ -17,6 +19,7 @@ export const fancy = base
export type Fancy = typeof fancy

export {
FancyTypes,
Base,
Context,
EnvOptions,
Expand Down
3 changes: 3 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export {Base, Context, Plugin} from './base'
export {EnvOptions} from './env'
export {NockScope} from './nock'

0 comments on commit 716d3b9

Please sign in to comment.