Skip to content

Commit

Permalink
fix(types): included types export
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Goodson authored and Matt Goodson committed May 11, 2021
1 parent c5d8900 commit a4d63c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
"test:mysql": "DB=mysql tsnd --files --transpile-only -r tsconfig-paths/register ./test/helpers/introspect.ts && DB=mysql jest --runInBand",
"test:introspect": "DB=mysql tsnd --files --transpile-only -r tsconfig-paths/register ./test/helpers/introspect.ts",
"prepare": "npm run build",
"create-version": "standard-version",
"semantic-release": "semantic-release",
"typecheck": "tsc --p ./tsconfig.typecheck.json"
},
"main": "./build/src/index.js",
"types": "./build/src/index.d.ts",
"bin": {
"relations": "build/src/cli/entry.js"
},
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { introspectSchema } from './introspection/introspect';
import { writeFormattedFile } from './printer';
import { logger } from './lib/logger';

export * from './types';

// **************************
// generate schema
// **************************
Expand Down

0 comments on commit a4d63c9

Please sign in to comment.