Skip to content

Commit ed5c1db

Browse files
committed
docs(faq): Mention TypeScript 3’s unknown type
1 parent c08321d commit ed5c1db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/org.eclipse.n4js.doc/src/faq/comparison-typescript.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ h| `any+` h| yes h| no |
106106
h| TypeScript h| `any` h| yes h| yes | • footnote:[In TypeScript, implicit usage of `any` can be disallowed by means of a compiler flag.]
107107
|===
108108

109+
TypeScript 3 introduced the `unknown` type which behaves like N4JS's `any` type, with the exception that it isn't currently being used by default and has to be declared explicitly.
110+
109111
=== Type Errors Are Show-Stoppers in N4JS
110112

111113
N4JS has two general levels of issues reported by the compiler: *warning* and *error*.

0 commit comments

Comments
 (0)