Skip to content

Commit

Permalink
move d.ts files to root of module
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Mar 8, 2019
1 parent 1b02db8 commit 9cb98b4
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 5 deletions.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.

0 comments on commit 9cb98b4

Please sign in to comment.