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: doc/contributing/maintaining-types-for-nodejs.md
+21-14
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,19 @@
1
1
# Maintaining types for Node.js
2
2
3
-
While JavaScript is an untyped language, there are a number of complementary
4
-
technologies like [TypeScript](https://www.typescriptlang.org/) and
5
-
[Flow](https://flow.org/) which allow developers to use types within their
6
-
JavaScript projects. While many people don't use types, there are enough
7
-
who do that the project has agreed it's important to work towards having
8
-
[suitable types for end-users](https://github.com/nodejs/node/blob/master/doc/contributing/technical-priorities.md#suitable-types-for-end-users).
3
+
While JavaScript is a weakly-typed language, there are some complementary tools
4
+
like [TypeScript][] and [Flow][], which allow developers to annotate the source
5
+
code of their JavaScript projects. While many people don't annotate their code,
6
+
or make use of annotations at all, there are enough who do that the project has
7
+
agreed it's important to work towards having [suitable types for end-users][].
9
8
10
9
## High level approach
11
10
12
11
There are a number of ways that types could be maintained for Node.js ranging
13
12
from shipping them with the Node.js runtime to having them be externally
14
13
maintained.
15
14
16
-
The different options were discussed as part of the
[suitable types for end-users]: https://github.com/nodejs/node/blob/HEAD/doc/contributing/technical-priorities.md#suitable-types-for-end-users
0 commit comments