Skip to content

Commit

Permalink
docs(faq): Mention TypeScript 3’s unknown type
Browse files Browse the repository at this point in the history
  • Loading branch information
ExE-Boss committed Apr 3, 2019
1 parent c08321d commit ed5c1db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/org.eclipse.n4js.doc/src/faq/comparison-typescript.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ h| `any+` h| yes h| no |
h| TypeScript h| `any` h| yes h| yes | • footnote:[In TypeScript, implicit usage of `any` can be disallowed by means of a compiler flag.]
|===

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.

=== Type Errors Are Show-Stoppers in N4JS

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

0 comments on commit ed5c1db

Please sign in to comment.