Quellcode durchsuchen

add typescript compiler info

Ifedapo .A. Olarewaju vor 7 Jahren
Ursprung
Commit
9f1043e1cd
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
  1. 8 0
      website/src/_posts/2017-12-0.22.md

+ 8 - 0
website/src/_posts/2017-12-0.22.md

@@ -100,6 +100,13 @@ Our browser crash / page refresh restore plugin `Golden Retriever` (read [more a
 
 Also, we’ve fixed restoring from paused state. Now uploads will remain paused and not get out of sync.
 
+## Type safe Server
+
+Uppy-server now uses typescript to do some type checking in compile time. This helps spot some otherwise easy to miss compile time bugs. While the project's source is still written in javascript, the use of JsDoc specifications is leverages upon by typescript to detect data types with in the project.
+
+This is a very positive step for uppy-server because a number of hidden bugs had already been identified and fixed thanks to
+this, and it also makes uppy-server very well documented. :)
+
 ## And there’s more
 
 - New `setFileState` method as a nice shorthand to update file-specific state.
@@ -145,5 +152,6 @@ Here is the full list of changes for version `0.22.0` (and patch `0.21.1`):
 - s3: Use Translator for localised strings (420 / @goto-bus-stop )
 - transloadit: Port old tests from tape (#428 / @goto-bus-stop)
 - tus: Restore correctly from paused state (#443 / @goto-bus-stop)
+- uppy-server: use typescript to compile code for a type safe servers (@ifedapoolarewaju)
 
 The Uppy Team