Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
move d.ts files to root of module
  • Loading branch information
SimenB committed Mar 8, 2019
commit 9cb98b4071b8db2457d1f79a89a14dec8ca1d3bb
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

### Chore & Maintenance

- `[*]` Make sure to copy over `d.ts` files to the `build` directory when building ([#8086](https://github.com/facebook/jest/pull/8086))
- `[*]` Make sure to include `d.ts` files in the tarball when building ([#8086](https://github.com/facebook/jest/pull/8086))

### Performance

Expand Down
4 changes: 2 additions & 2 deletions packages/jest-reporters/src/coverage_reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/

// TODO: Remove this
/// <reference path="./istanbul-lib-coverage.d.ts" />
/// <reference path="./istanbul-api.d.ts" />
/// <reference path="../istanbul-lib-coverage.d.ts" />
/// <reference path="../istanbul-api.d.ts" />

import path from 'path';
import {Config} from '@jest/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-reporters/src/generateEmptyCoverage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// TODO: Remove this
/// <reference path="./istanbul-lib-coverage.d.ts" />
/// <reference path="../istanbul-lib-coverage.d.ts" />

import {Config} from '@jest/types';
import {readInitialCoverage} from 'istanbul-lib-instrument';
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-reporters/src/notify_reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// TODO: Remove this
/// <reference path="./node-notifier.d.ts" />
/// <reference path="../node-notifier.d.ts" />

import path from 'path';
import util from 'util';
Expand Down
2 changes: 2 additions & 0 deletions packages/jest-serializer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// TODO: Remove this
/// <reference path="../v8.d.ts" />

import fs from 'fs';
import v8 from 'v8';
Expand Down