Skip to content

Commit babbc73

Browse files
committed
Reference src types instead of dist ones
Makes it possible for IDEs to infer types from the declarations before building.
1 parent c86e7a2 commit babbc73

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

index.d.mts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/*
2-
* While in local development, make sure you've run `pnpm run build` first.
3-
*/
4-
import { concurrently } from './dist/src/index.js';
1+
import { concurrently } from './src/index.js';
52

6-
export * from './dist/src/index.js';
3+
export * from './src/index.js';
74
export default concurrently;

index.d.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/*
2-
* While in local development, make sure you've run `pnpm run build` first.
3-
*/
4-
import { concurrently } from './dist/src/index.js';
1+
import { concurrently } from './src/index.js';
52

6-
export * from './dist/src/index.js';
3+
export * from './src/index.js';
74
export default concurrently;

0 commit comments

Comments
 (0)