Skip to content

Commit 71cbaef

Browse files
committed
Update documentation for fixing lib issues
1 parent 067e1cc commit 71cbaef

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CONTRIBUTING.md

+13
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,19 @@ Your pull request should:
3232
* Follow the code conventions descriped in [Coding guidelines](https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines)
3333
* To avoid line ending issues, set `autocrlf = input` and `whitespace = cr-at-eol` in your git configuration
3434

35+
## Contributing `lib.d.ts` fixes
36+
37+
The library sources are in: [src\lib\](https://github.com/Microsoft/TypeScript/tree/master/src/lib)
38+
39+
To build the library files, run
40+
```Shell
41+
jake lib
42+
```
43+
44+
`src\lib\dom.generated.d.ts` and `webworker.generated.d.ts`:
45+
46+
These two files represent the DOM typings and are auto-generated. To make any modifications to them, please update the generation script in https://github.com/Microsoft/TSJS-lib-generator
47+
3548
## Running the Tests
3649

3750
To run all tests, invoke the `runtests` target using jake:

0 commit comments

Comments
 (0)