-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project-reference.ts
44 lines (38 loc) · 1016 Bytes
/
project-reference.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* @file Type Definitions - ProjectReference
* @module tsconfig-types/types/ProjectReference
*/
import type { JsonObject } from '@flex-development/tutils'
/**
* A project to reference.
*
* Allows TypeScript programs to be structured into smaller pieces.
*
* @see https://www.typescriptlang.org/docs/handbook/project-references.html
*
* @extends {JsonObject}
*/
interface ProjectReference extends JsonObject {
/**
* Indicates if the reference forms a circularity.
*/
circular?: boolean
/**
* Path to reference as written by user.
*/
originalPath?: string
/**
* A normalized path that points to a directory containing a `tsconfig.json`
* file, or the config file itself.
*/
path: string
/**
* Indicates if the reference should be prepended to project output.
*
* **Note**: Only valid for [`--outFile`][1] compilations.
*
* [1]: https://www.typescriptlang.org/tsconfig#outFile
*/
prepend?: boolean
}
export type { ProjectReference as default }