diff options
| author | jw255 | 2018-04-23 11:24:39 +0100 |
|---|---|---|
| committer | jw255 | 2018-04-23 11:24:39 +0100 |
| commit | bcfbbb2d9e2fba9df67a1e29cc06bff395d2fbe2 (patch) | |
| tree | 65a90447dcd079248a9f3d6ebd23d0103dbc253e /report/deliverable-3/texts/typings.tex | |
| parent | BIG FILTHY COMMIT OF SCARY STUFF (diff) | |
| parent | Merge branch 'report' of https://gitlab.cs.st-andrews.ac.uk/cs3099group-be-4/... (diff) | |
| download | medicine-bcfbbb2d9e2fba9df67a1e29cc06bff395d2fbe2.tar.gz medicine-bcfbbb2d9e2fba9df67a1e29cc06bff395d2fbe2.zip | |
Merge branch ‘report’ into trh/gets
Diffstat (limited to 'report/deliverable-3/texts/typings.tex')
| -rw-r--r-- | report/deliverable-3/texts/typings.tex | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/report/deliverable-3/texts/typings.tex b/report/deliverable-3/texts/typings.tex deleted file mode 100644 index 36297b7..0000000 --- a/report/deliverable-3/texts/typings.tex +++ /dev/null @@ -1,27 +0,0 @@ -\section{Type Enforcement} -In order to run JavaScript code as TypeScript code, typings (usually -supplied in a \file{.d.ts}-extended file) are applied at compile-time to -make sense of the original source's variable types. For a couple of -packages that have been used in the submission, these typings are not -available, due to a lack of desirablilty --- the packages in question are -niche and as such see little use. - -\subsection{mocha-each} -One such package is \emph{mocha-each}, a utility package for compacting -Mocha tests for readability and classification~\cite{mocha-each}. Without -typings, this package cannot be used in TypeScript projects. Due to its -single-facet use, however, it was simple to design a custom -\file{.d.ts} file. With small edits to conform to -guidelines~\cite{@types}, typings for -mocha-test were contributed to the DefinitelyTyped types repository\footnote{% -https://github.com/DefinitelyTyped/DefinitelyTyped/% -tree/master/types/mocha-each}. - -\subsection{pmx} -The package pmx (as previously described in \S\ref{sec:pms}) is useful for -profiling. Similarly to mocha-each, however, it does not have supported typing. -Since this package covers a far wider range of functionality, and since said -functionality is very involved with sensitive run-time engine manipulation, -typings were written only for the functions being used by the team, and have -been kept in-house for their incompleteness. The files in question can be found -in \file{src/profiler}. |
