Skip to content

Commit

Permalink
move index.d.ts to src/
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp committed Sep 30, 2018
1 parent 9169b6e commit d915285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
"types": "dist/index.d.ts",
"scripts": {
"build": "npm run clean; tsc; npm run copy-assets",
"copy-assets": "cp src/worker.js dist; cp index.d.ts dist",
"copy-assets": "cp src/worker.js dist; cp src/index.d.ts dist",
"clean": "rm -rf dist",
"pretest": "npm run lint",
"test": "node --experimental-worker node_modules/.bin/jest",
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts → src/index.d.ts
@@ -1,4 +1,4 @@
import {Config} from './src/interfaces'
import { Config } from './interfaces'

export function job(handler: Function, config?: Config): Promise<any>
export function stop(): void

0 comments on commit d915285

Please sign in to comment.