Bladeren bron
Add a section about TypeScript defs in README
Since TypeScript usage has exploded the last years but this is
package is written in JavaScript, we might at least reference
the external DefinitelyTyped package @types/mustache that has
a somewhat up-to-date set of type definitions for most of the package.
tags/v4.0.0
Phillip Johnsen
GitHub
6 jaren geleden
bovenliggende
commit
3bdd27c4e7
Geen bekende sleutel gevonden voor deze handtekening in de database
GPG sleutel-ID: 4AEE18F83AFDEB23
1 gewijzigde bestanden met
toevoegingen van 5 en
0 verwijderingen
-
README.md
|
|
|
@@ -534,6 +534,11 @@ $ rake yui3 |
|
|
|
$ rake qooxdoo |
|
|
|
``` |
|
|
|
|
|
|
|
## TypeScript |
|
|
|
|
|
|
|
Since the source code of this package is written in JavaScript, we follow the [TypeScript publishing docs](https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html) preferred approach |
|
|
|
by having type definitions available via [@types/mustache](https://www.npmjs.com/package/@types/mustache). |
|
|
|
|
|
|
|
## Testing |
|
|
|
|
|
|
|
In order to run the tests you'll need to install [Node.js](http://nodejs.org/). |
|
|
|
|