You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,11 +36,13 @@ Your pull request should:
36
36
37
37
The library sources are in: [src/lib](https://github.com/Microsoft/TypeScript/tree/master/src/lib)
38
38
39
-
To build the library files, run
39
+
Library files in `built/local/` are updated by running
40
40
```Shell
41
-
jake lib
41
+
jake
42
42
```
43
43
44
+
The files in `lib/` are used to bootstrap compilation and usually do not need to be updated.
45
+
44
46
#### `src/lib/dom.generated.d.ts` and `src/lib/webworker.generated.d.ts`
45
47
46
48
These two files represent the DOM typings and are auto-generated. To make any modifications to them, please submit a PR to https://github.com/Microsoft/TSJS-lib-generator
Copy file name to clipboardExpand all lines: doc/spec.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1323,7 +1323,7 @@ x = "hello"; // Ok
1323
1323
x=42; // Ok
1324
1324
x=test; // Error, boolean not assignable
1325
1325
x=test?5:"five"; // Ok
1326
-
x=test?0:false; // Error, number | boolean not asssignable
1326
+
x=test?0:false; // Error, number | boolean not assignable
1327
1327
```
1328
1328
1329
1329
it is possible to assign 'x' a value of type `string`, `number`, or the union type `string | number`, but not any other type. To access a value in 'x', a type guard can be used to first narrow the type of 'x' to either `string` or `number`:
If you need to make modifications, the respective files should be changed within the repository's top-level `src` directory.
4
+
If you need to make modifications, the respective files should be changed within the repository's top-level `src` directory. Running `jake LKG` will then appropriately update the files in this directory.
0 commit comments