Transformed types

Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e):

    jscodeshift --transform ts.js src
This commit is contained in:
Tim Schaub
2018-09-05 08:05:29 -06:00
parent f2aaaa19e1
commit ccfacc5ee6
239 changed files with 3999 additions and 3999 deletions

View File

@@ -39,7 +39,7 @@ export function none(rotation, delta) {
/**
* @param {number} n N.
* @return {module:ol/rotationconstraint~Type} Rotation constraint.
* @return {Type} Rotation constraint.
*/
export function createSnapToN(n) {
const theta = 2 * Math.PI / n;
@@ -62,7 +62,7 @@ export function createSnapToN(n) {
/**
* @param {number=} opt_tolerance Tolerance.
* @return {module:ol/rotationconstraint~Type} Rotation constraint.
* @return {Type} Rotation constraint.
*/
export function createSnapToZero(opt_tolerance) {
const tolerance = opt_tolerance || toRadians(5);