From 84da98d35b4ed69ccf0f0d79a1b1e96d7316c3bc Mon Sep 17 00:00:00 2001
From: andy-ms
Date: Sun, 22 Oct 2017 10:46:51 -0700
Subject: [PATCH 001/210] verror: Fix lint
---
types/verror/index.d.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/types/verror/index.d.ts b/types/verror/index.d.ts
index bddce14924..36d2a9ef3b 100644
--- a/types/verror/index.d.ts
+++ b/types/verror/index.d.ts
@@ -39,7 +39,7 @@ declare namespace VError {
}
interface Options {
- cause?: Error | null | undefined;
+ cause?: Error | null;
name?: string;
strict?: boolean;
constructorOpt?(...args: any[]): void;
From 4a0d3be1c054f1e9fa9f94cceb0af0e9c815fed9 Mon Sep 17 00:00:00 2001
From: Andy
Date: Sun, 22 Oct 2017 11:27:58 -0700
Subject: [PATCH 002/210] leaflet-*: Fix lint (#20841)
---
types/leaflet-draw/tslint.json | 4 +++-
types/leaflet-polylinedecorator/tslint.json | 8 +++++++-
types/leaflet/tslint.json | 1 +
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/types/leaflet-draw/tslint.json b/types/leaflet-draw/tslint.json
index 4f44991c3c..ccc381f52f 100644
--- a/types/leaflet-draw/tslint.json
+++ b/types/leaflet-draw/tslint.json
@@ -1,6 +1,8 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "no-empty-interface": false
+ // TODOs
+ "no-empty-interface": false,
+ "no-unnecessary-class": false
}
}
diff --git a/types/leaflet-polylinedecorator/tslint.json b/types/leaflet-polylinedecorator/tslint.json
index 3db14f85ea..6a82dd0467 100644
--- a/types/leaflet-polylinedecorator/tslint.json
+++ b/types/leaflet-polylinedecorator/tslint.json
@@ -1 +1,7 @@
-{ "extends": "dtslint/dt.json" }
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ // TODO
+ "no-unnecessary-class": false
+ }
+}
diff --git a/types/leaflet/tslint.json b/types/leaflet/tslint.json
index a7cf035dfc..e504c08f8d 100644
--- a/types/leaflet/tslint.json
+++ b/types/leaflet/tslint.json
@@ -2,6 +2,7 @@
"extends": "dtslint/dt.json",
"rules": {
// TODOs
+ "no-unnecessary-class": false,
"no-object-literal-type-assertion": false,
"no-single-declare-module": false
}
From 097d2acf711df3ffb7a3df62554769b216876275 Mon Sep 17 00:00:00 2001
From: Andy
Date: Sun, 22 Oct 2017 15:22:50 -0700
Subject: [PATCH 003/210] Miscellaneous lint fixes (#20849)
---
types/activex-libreoffice/tslint.json | 1 +
types/angular-block-ui/index.d.ts | 6 +-
types/angular/angular-tests.ts | 8 +-
types/angular/index.d.ts | 16 ++--
types/annyang/index.d.ts | 44 +--------
types/applicationinsights-js/tslint.json | 2 +
types/arrify/index.d.ts | 1 -
types/ascii2mathml/index.d.ts | 2 +-
types/async/tslint.json | 1 +
.../atom-mocha-test-runner-tests.ts | 2 +-
types/autosize/index.d.ts | 9 --
types/babel-core/index.d.ts | 5 +-
types/backbone.marionette/index.d.ts | 10 +-
types/bagpipes/index.d.ts | 5 +-
types/bitcoinjs-lib/index.d.ts | 2 +-
types/blob-util/index.d.ts | 22 -----
types/bluebird-global/tslint.json | 1 +
types/bluebird/tslint.json | 1 +
types/bootstrap-slider/index.d.ts | 7 --
types/bull/index.d.ts | 4 +-
types/bunyan-blackhole/index.d.ts | 4 +-
types/chai-jest-snapshot/index.d.ts | 33 ++-----
types/chroma-js/index.d.ts | 3 -
types/clipboard/index.d.ts | 15 ++-
types/combine-source-map/index.d.ts | 18 ++--
types/convert-source-map/index.d.ts | 18 ++--
types/convict/index.d.ts | 16 +---
types/cookie-signature/index.d.ts | 10 +-
.../cordova-plugin-native-keyboard/index.d.ts | 18 ----
types/cytoscape/index.d.ts | 27 ++++--
types/delay/index.d.ts | 6 +-
types/dom-inputevent/index.d.ts | 10 +-
types/dwt/tslint.json | 2 +
types/dwt/v12/tslint.json | 2 +
types/electron-settings/v2/index.d.ts | 2 -
types/execa/index.d.ts | 2 +-
types/express-brute-mongo/index.d.ts | 7 --
types/express-brute-mongo/tslint.json | 5 +-
types/express-mysql-session/index.d.ts | 71 --------------
types/firebird/index.d.ts | 18 +---
types/flickity/index.d.ts | 10 +-
types/fm-websync/index.d.ts | 3 -
types/fs-extra-promise-es6/index.d.ts | 72 --------------
types/fs-extra-promise/index.d.ts | 31 ------
types/fs-extra/index.d.ts | 6 --
types/geodesy/index.d.ts | 15 ++-
types/geolib/index.d.ts | 55 +++++++----
.../google-protobuf/google-protobuf-tests.ts | 6 +-
types/graphite-udp/index.d.ts | 12 ---
types/grecaptcha/index.d.ts | 4 -
types/har-format/index.d.ts | 28 ++++--
types/haversine/index.d.ts | 3 -
types/hls.js/index.d.ts | 2 +-
types/http-assert/index.d.ts | 51 +++-------
types/http-proxy/index.d.ts | 1 -
types/is-ip/index.d.ts | 24 +----
types/is-number/index.d.ts | 4 +-
types/jasmine-fixture/index.d.ts | 7 +-
types/jest/index.d.ts | 8 +-
types/jquery-match-height/index.d.ts | 2 -
types/jsforce/query.d.ts | 4 +-
types/jsforce/tslint.json | 1 +
types/json-rpc-ws/index.d.ts | 2 -
types/jsonfile/index.d.ts | 28 +++---
types/jsrp/index.d.ts | 40 ++++----
types/jszip/index.d.ts | 7 +-
types/kafka-node/tslint.json | 5 +-
types/keycloak-js/tslint.json | 4 +-
types/knuddels-userapps-api/tslint.json | 5 +-
types/license-checker/index.d.ts | 1 -
types/line-by-line/index.d.ts | 1 -
types/linq4js/tslint.json | 1 +
types/load-json-file/index.d.ts | 4 -
types/make-dir/index.d.ts | 2 -
types/merge2/index.d.ts | 2 +-
types/modesl/tslint.json | 8 +-
types/morgan/index.d.ts | 2 -
types/multer/index.d.ts | 3 +-
types/multimatch/index.d.ts | 9 +-
types/nedb-logger/index.d.ts | 2 +-
types/node-horseman/index.d.ts | 4 +-
types/node-pg-migrate/tslint.json | 4 +-
types/node-waves/index.d.ts | 10 +-
types/node-wit/tslint.json | 8 +-
types/node-xmpp-core/index.d.ts | 5 +-
types/nodemailer/lib/addressparser.d.ts | 4 +-
types/openpgp/tslint.json | 1 +
types/p-settle/index.d.ts | 2 -
.../passport-oauth2/passport-oauth2-tests.ts | 3 +-
types/pikaday-time/index.d.ts | 2 +-
types/pikaday/index.d.ts | 2 +-
types/polylabel/index.d.ts | 7 +-
types/pouchdb-find/index.d.ts | 3 +-
types/prosemirror-inputrules/tslint.json | 6 +-
types/prosemirror-markdown/tslint.json | 8 +-
types/qr-image/index.d.ts | 15 +--
types/query-string/index.d.ts | 5 -
types/quill/tslint.json | 5 +-
types/relay-runtime/tslint.json | 6 +-
types/remove-markdown/index.d.ts | 1 -
types/restify-plugins/index.d.ts | 2 +-
types/restling/index.d.ts | 94 ++++++++-----------
types/rfc2047/index.d.ts | 8 +-
types/riot/index.d.ts | 8 +-
types/safe-regex/index.d.ts | 2 +-
types/sap__xsenv/index.d.ts | 8 +-
types/serialize-javascript/index.d.ts | 8 +-
types/sha1/index.d.ts | 6 +-
types/simple-oauth2/index.d.ts | 2 +-
types/sinon/index.d.ts | 6 +-
types/slocket/index.d.ts | 6 +-
types/snazzy-info-window/index.d.ts | 1 -
types/soundmanager2/index.d.ts | 5 +-
types/sshpk/tslint.json | 8 +-
.../string-similarity-tests.ts | 11 +--
types/strong-cluster-control/index.d.ts | 1 -
types/sumo-logger/index.d.ts | 3 +-
types/swagger-sails-hook/index.d.ts | 4 +-
types/tabris-plugin-firebase/index.d.ts | 7 +-
types/thrift/thrift-tests.ts | 2 -
types/tinymce/tslint.json | 1 +
types/tocktimer/index.d.ts | 7 +-
types/undertaker-registry/index.d.ts | 8 +-
types/universal-router/index.d.ts | 6 +-
types/vast-client/index.d.ts | 2 +-
types/viewerjs/index.d.ts | 8 +-
types/vinyl-fs/index.d.ts | 12 ++-
types/webassembly-js-api/tslint.json | 4 +-
types/webdriverio/tslint.json | 1 +
129 files changed, 439 insertions(+), 814 deletions(-)
diff --git a/types/activex-libreoffice/tslint.json b/types/activex-libreoffice/tslint.json
index 098cdac415..58ae722582 100644
--- a/types/activex-libreoffice/tslint.json
+++ b/types/activex-libreoffice/tslint.json
@@ -3,6 +3,7 @@
"rules": {
"interface-name": [false],
"ban-types": false,
+ "no-redundant-jsdoc": false,
"no-unnecessary-qualifier": false
}
}
\ No newline at end of file
diff --git a/types/angular-block-ui/index.d.ts b/types/angular-block-ui/index.d.ts
index 47ba9902b9..f415d386e9 100644
--- a/types/angular-block-ui/index.d.ts
+++ b/types/angular-block-ui/index.d.ts
@@ -67,7 +67,7 @@ declare module 'angular' {
* If the filter function returns a string it will be passed as the message
* argument to the start method of the service.
*
- * @param {angular.IRequestConfig} config - the Angular request config object.
+ * @param config the Angular request config object.
*
*/
requestFilter?(config: IRequestConfig): (string | boolean);
@@ -123,7 +123,7 @@ declare module 'angular' {
*
* This behaviour can be modified in the configuration.
*
- * @param {string|IBlockUIConfig} messageOrOptions -
+ * @param messageOrOptions
* Either supply the message (string) to be show in the
* overlay or specify an IBlockUIConfig object that will be
* merged/extended into the block ui instance state.
@@ -156,7 +156,7 @@ declare module 'angular' {
* Allows the message shown in the overlay to be updated
* while to block is active.
*
- * @param {string} message - The message to show in the overlay.
+ * @param message The message to show in the overlay.
*/
message(message: string): void;
diff --git a/types/angular/angular-tests.ts b/types/angular/angular-tests.ts
index 03f7af5160..6d8b11bffe 100644
--- a/types/angular/angular-tests.ts
+++ b/types/angular/angular-tests.ts
@@ -178,7 +178,7 @@ mod.controller('name', class {
// $onChanges(x: number) { }
});
mod.controller({
- MyCtrl: class{},
+ MyCtrl: class {},
MyCtrl2() {},
MyCtrl3: ['$fooService', ($fooService: any) => { }]
});
@@ -229,7 +229,7 @@ mod.provider(My.Namespace);
mod.service('name', ($scope: ng.IScope) => {});
mod.service('name', ['$scope', ($scope: ng.IScope) => {}]);
mod.service({
- MyCtrl: class{},
+ MyCtrl: class {},
MyCtrl2: () => {}, // tslint:disable-line:object-literal-shorthand
MyCtrl3: ['$fooService', ($fooService: any) => {}]
});
@@ -491,9 +491,7 @@ namespace TestInjector {
// $injector.instantiate
{
- class Foobar {
- constructor($q) {}
- }
+ class Foobar {}
const result: Foobar = $injector.instantiate(Foobar);
}
diff --git a/types/angular/index.d.ts b/types/angular/index.d.ts
index bcc8ab7466..45b9bea058 100644
--- a/types/angular/index.d.ts
+++ b/types/angular/index.d.ts
@@ -1089,7 +1089,7 @@ declare namespace angular {
* Retrieves or overrides whether to generate an error when a rejected promise is not handled.
* This feature is enabled by default.
*
- * @returns {boolean} Current value
+ * @returns Current value
*/
errorOnUnhandledRejections(): boolean;
@@ -1097,8 +1097,8 @@ declare namespace angular {
* Retrieves or overrides whether to generate an error when a rejected promise is not handled.
* This feature is enabled by default.
*
- * @param {boolean} value Whether to generate an error when a rejected promise is not handled.
- * @returns {ng.IQProvider} Self for chaining otherwise.
+ * @param value Whether to generate an error when a rejected promise is not handled.
+ * @returns Self for chaining otherwise.
*/
errorOnUnhandledRejections(value: boolean): IQProvider;
}
@@ -1109,8 +1109,8 @@ declare namespace angular {
* The successCallBack may return IPromise for when a $q.reject() needs to be returned
* This method returns a new promise which is resolved or rejected via the return value of the successCallback, errorCallback. It also notifies via the return value of the notifyCallback method. The promise can not be resolved or rejected from the notifyCallback method.
*/
- then(successCallback: (promiseValue: T) => IPromise|TResult, errorCallback?: null | undefined, notifyCallback?: (state: any) => any): IPromise;
- then(successCallback: (promiseValue: T) => IPromise|TResult2, errorCallback?: null | undefined, notifyCallback?: (state: any) => any): IPromise;
+ then(successCallback: (promiseValue: T) => IPromise|TResult, errorCallback?: null, notifyCallback?: (state: any) => any): IPromise;
+ then(successCallback: (promiseValue: T) => IPromise|TResult2, errorCallback?: null, notifyCallback?: (state: any) => any): IPromise;
then(successCallback: (promiseValue: T) => IPromise|TResult, errorCallback: (reason: any) => IPromise|TCatch, notifyCallback?: (state: any) => any): IPromise;
then(successCallback: (promiseValue: T) => IPromise|TResult2, errorCallback: (reason: any) => IPromise|TCatch2, notifyCallback?: (state: any) => any): IPromise;
@@ -1639,9 +1639,8 @@ declare namespace angular {
useApplyAsync(value: boolean): IHttpProvider;
/**
- *
- * @param {boolean=} value If true, `$http` will return a normal promise without the `success` and `error` methods.
- * @returns {boolean|Object} If a value is specified, returns the $httpProvider for chaining.
+ * @param value If true, `$http` will return a normal promise without the `success` and `error` methods.
+ * @returns If a value is specified, returns the $httpProvider for chaining.
* otherwise, returns the current configured value.
*/
useLegacyPromiseExtensions(value: boolean): boolean | IHttpProvider;
@@ -1762,7 +1761,6 @@ declare namespace angular {
(tpl: string, ignoreRequestError?: boolean): IPromise;
/**
* total amount of pending template requests being downloaded.
- * @type {number}
*/
totalPendingRequests: number;
}
diff --git a/types/annyang/index.d.ts b/types/annyang/index.d.ts
index fee0cb9acb..76f2bdb455 100644
--- a/types/annyang/index.d.ts
+++ b/types/annyang/index.d.ts
@@ -6,39 +6,23 @@
/**
* Options for function `start`
- *
- * @export
- * @interface StartOptions
*/
export interface StartOptions {
/**
* Should annyang restart itself if it is closed indirectly, because of silence or window conflicts?
- *
- * @type {boolean}
*/
autoRestart?: boolean;
/**
* Allow forcing continuous mode on or off. Annyang is pretty smart about this, so only set this if you know what you're doing.
- *
- * @type {boolean}
*/
continuous?: boolean;
}
/**
* A command option that supports custom regular expressions
- *
- * @export
- * @interface CommandOptionRegex
*/
export interface CommandOptionRegex {
- /**
- * @type {RegExp}
- */
regexp: RegExp;
- /**
- * @type {() => any}
- */
callback(): void;
}
@@ -50,8 +34,6 @@ export interface CommandOptionRegex {
* {'hello :name': helloFunction, 'howdy': helloFunction};
* {'hi': helloFunction};
* ````
- * @export
- * @interface CommandOption
*/
export interface CommandOption {
[command: string]: CommandOptionRegex | (() => void);
@@ -92,8 +74,6 @@ export interface Annyang {
/**
* Start listening.
* It's a good idea to call this after adding some commands first, but not mandatory.
- *
- * @param {StartOptions} options
*/
start(options?: StartOptions): void;
@@ -119,15 +99,13 @@ export interface Annyang {
/**
* Turn on output of debug messages to the console. Ugly, but super-handy!
*
- * @export
- * @param {boolean} [newState=true] Turn on/off debug messages
+ * @param [newState=true] Turn on/off debug messages
*/
debug(newState?: boolean): void;
/**
* Set the language the user will speak in. If this method is not called, defaults to 'en-US'.
*
- * @param {string} lang
* @see [Languages](https://github.com/TalAter/annyang/blob/master/docs/FAQ.md#what-languages-are-supported)
*/
setLanguage(lang: string): void;
@@ -144,8 +122,6 @@ export interface Annyang {
* annyang.addCommands(commands2);
* // annyang will now listen to all three commands
* ````
- *
- * @param {CommandOption} commands
*/
addCommands(commands: CommandOption): void;
@@ -161,7 +137,6 @@ export interface Annyang {
* // Remove all existing commands
* annyang.removeCommands();
* ````
- * @param {string} command
*/
removeCommands(command?: string): void;
@@ -175,37 +150,22 @@ export interface Annyang {
* // Don't respond to howdy or hi
* annyang.removeCommands(['howdy', 'hi']);
* ````
- *
- * @param {string[]} command
*/
removeCommands(command: string[]): void;
- /**
- * @param {Events} event
- * @param {(userSaid : string, commandText : string, results : string[]) => void} callback
- * @param {*} [context]
- */
addCallback(event: Events, callback: (userSaid?: string, commandText?: string, results?: string[]) => void, context?: any): void;
- /**
- * @param {Events} [event]
- * @param {Function} [callback]
- */
removeCallback(event?: Events, callback?: (userSaid: string, commandText: string, results: string[]) => void): void;
/**
* Returns true if speech recognition is currently on.
* Returns false if speech recognition is off or annyang is paused.
- *
- * @returns {boolean}
*/
isListening(): boolean;
/**
* Returns the instance of the browser's SpeechRecognition object used by annyang.
* Useful in case you want direct access to the browser's Speech Recognition engine.
- *
- * @returns {*}
*/
getSpeechRecognizer(): any;
@@ -223,8 +183,6 @@ export interface Annyang {
* ['Time for some thrilling heroics', 'Time for some thrilling aerobics']
* );
* ````
- *
- * @param {string} command
*/
trigger(command: string | string[]): void;
}
diff --git a/types/applicationinsights-js/tslint.json b/types/applicationinsights-js/tslint.json
index e4be61c456..482dffd727 100644
--- a/types/applicationinsights-js/tslint.json
+++ b/types/applicationinsights-js/tslint.json
@@ -6,7 +6,9 @@
"no-declare-current-package": false,
"no-internal-module": false,
"no-mergeable-namespace": false,
+ "no-redundant-jsdoc": false,
"no-single-declare-module": false,
+ "no-unnecessary-class": false,
"no-unnecessary-qualifier": false
}
}
diff --git a/types/arrify/index.d.ts b/types/arrify/index.d.ts
index 896ee23224..a1dda1b9ec 100644
--- a/types/arrify/index.d.ts
+++ b/types/arrify/index.d.ts
@@ -12,7 +12,6 @@
* arrify(1) // returns [1]
* @example
* arrify([2, 3]) // returns [2, 3]
- * @param val
*/
declare function arrify(val: undefined | null | T | T[]): T[];
export = arrify;
diff --git a/types/ascii2mathml/index.d.ts b/types/ascii2mathml/index.d.ts
index 2b02dfea15..dcb9f7bb98 100644
--- a/types/ascii2mathml/index.d.ts
+++ b/types/ascii2mathml/index.d.ts
@@ -28,7 +28,7 @@ interface ascii2mathml {
/**
* Converts ASCIIMath expression to MathML markup.
- * @param asciimath {string} ASCIIMath expression
+ * @param asciimath ASCIIMath expression
* @param options Options
*/
(asciimath: string, options?: Options): string;
diff --git a/types/async/tslint.json b/types/async/tslint.json
index b1ab4a96cc..9380375afa 100644
--- a/types/async/tslint.json
+++ b/types/async/tslint.json
@@ -16,6 +16,7 @@
"no-void-expression": false,
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
+ "one-line": false,
"one-variable-per-declaration": false,
"only-arrow-functions": false,
"prefer-const": false,
diff --git a/types/atom-mocha-test-runner/atom-mocha-test-runner-tests.ts b/types/atom-mocha-test-runner/atom-mocha-test-runner-tests.ts
index 434e48f261..cae2dd0e54 100644
--- a/types/atom-mocha-test-runner/atom-mocha-test-runner-tests.ts
+++ b/types/atom-mocha-test-runner/atom-mocha-test-runner-tests.ts
@@ -34,5 +34,5 @@ async function runTests(): Promise {
};
num = await defaultMochaRunner(runnerArgs);
- return await testRunner(runnerArgs);
+ return testRunner(runnerArgs);
}
diff --git a/types/autosize/index.d.ts b/types/autosize/index.d.ts
index a189b32817..b66dcc2aae 100644
--- a/types/autosize/index.d.ts
+++ b/types/autosize/index.d.ts
@@ -8,17 +8,14 @@
/**
* Attach autosize to NodeList
- * @param elements
*/
declare function autosize(elements: NodeList): NodeList;
/**
* Attach autosize to Element
- * @param element
*/
declare function autosize(element: Element): Element;
/**
* Attach autosize to JQuery collection
- * @param collection
*/
declare function autosize(collection: JQuery): JQuery;
@@ -27,37 +24,31 @@ declare namespace autosize {
* Triggers the height adjustment for an assigned textarea element.
* Autosize will automatically adjust the textarea height on keyboard and window resize events.
* There is no efficient way for Autosize to monitor for when another script has changed the textarea value or for changes in layout that impact the textarea element.
- * @param elements
*/
function update(elements: NodeList): NodeList;
/**
* Triggers the height adjustment for an assigned textarea element.
* Autosize will automatically adjust the textarea height on keyboard and window resize events.
* There is no efficient way for Autosize to monitor for when another script has changed the textarea value or for changes in layout that impact the textarea element.
- * @param element
*/
function update(element: Element): Element;
/**
* Triggers the height adjustment for an assigned textarea element.
* Autosize will automatically adjust the textarea height on keyboard and window resize events.
* There is no efficient way for Autosize to monitor for when another script has changed the textarea value or for changes in layout that impact the textarea element.
- * @param collection
*/
function update(collection: JQuery): JQuery;
/**
* Removes Autosize and reverts any changes it made to the textarea element.
- * @param elements
*/
function destroy(elements: NodeList): NodeList;
/**
* Removes Autosize and reverts any changes it made to the textarea element.
- * @param element
*/
function destroy(element: Element): Element;
/**
* Removes Autosize and reverts any changes it made to the textarea element.
- * @param collection
*/
function destroy(collection: JQuery): JQuery;
}
diff --git a/types/babel-core/index.d.ts b/types/babel-core/index.d.ts
index a2476245c1..3a41d2d252 100644
--- a/types/babel-core/index.d.ts
+++ b/types/babel-core/index.d.ts
@@ -162,8 +162,9 @@ export interface TransformOptions {
/** Indicate the mode the code should be parsed in. Can be either “script” or “module”. Default: "module" */
sourceType?: "script" | "module";
- /** An optional callback that can be used to wrap visitor methods.
- * NOTE: This is useful for things like introspection, and not really needed for implementing anything.
+ /**
+ * An optional callback that can be used to wrap visitor methods.
+ * NOTE: This is useful for things like introspection, and not really needed for implementing anything.
*/
wrapPluginVisitorMethod?(pluginAlias: string, visitorType: 'enter' | 'exit', callback: (path: NodePath, state: any) => void): (path: NodePath, state: any) => void ;
}
diff --git a/types/backbone.marionette/index.d.ts b/types/backbone.marionette/index.d.ts
index be3dfd8582..cd8ccd3821 100644
--- a/types/backbone.marionette/index.d.ts
+++ b/types/backbone.marionette/index.d.ts
@@ -691,7 +691,7 @@ export class Region extends Object implements DomMixin {
* Render a template with data by passing in the template selector and the
* data to render. This is the default renderer that is used by Marionette.
*/
-export class Renderer {
+export namespace Renderer {
/**
* This method returns a string containing the result of applying the
* template using the data object as the context.
@@ -703,7 +703,7 @@ export class Renderer {
* that returns valid HTML as a string from the data parameter passed to
* the function.
*/
- static render(template: any, data: any): string;
+ function render(template: any, data: any): string;
}
export interface ViewOptions extends Backbone.ViewOptions, ViewMixinOptions {
@@ -1614,11 +1614,11 @@ export class Behavior extends Object {
/**
* DEPRECATED
*/
-export class Behaviors {
+export namespace Behaviors {
/**
* This method defines where your behavior classes are stored. Override this to provide another lookup.
*/
- static behaviorsLookup(): any;
+ function behaviorsLookup(): any;
/**
* This method has a default implementation that is simple to override. It
@@ -1626,5 +1626,5 @@ export class Behaviors {
* Behaviors.behaviorsLookup or elsewhere. Note that it should return the type of the
* class to instantiate, not an instance of that class.
*/
- static getBehaviorClass(options: any, key: string): any;
+ function getBehaviorClass(options: any, key: string): any;
}
diff --git a/types/bagpipes/index.d.ts b/types/bagpipes/index.d.ts
index ec1d0cceb7..309ae38318 100755
--- a/types/bagpipes/index.d.ts
+++ b/types/bagpipes/index.d.ts
@@ -4,7 +4,8 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface FittingContext {
- /** The input defined in the fitting definition
+ /**
+ * The input defined in the fitting definition
* (string, number, object, array)
*/
input: any;
@@ -56,7 +57,7 @@ export type Fitting = (
* Executed during parsing
* @see {@link https://github.com/apigee-127/bagpipes#fittings|Docs}
*
- * @param {Object} fittingDef Fitting Definition
+ * @param fittingDef Fitting Definition
*/
export type FittingFactory = (fittingDef: FittingDef, bagpipes: any) => Fitting;
diff --git a/types/bitcoinjs-lib/index.d.ts b/types/bitcoinjs-lib/index.d.ts
index 796758715d..4caa6e1e2d 100644
--- a/types/bitcoinjs-lib/index.d.ts
+++ b/types/bitcoinjs-lib/index.d.ts
@@ -62,7 +62,7 @@ export class Block {
}
export class ECPair {
- constructor(d: BigInteger, Q?: null | undefined, options?: { compressed?: boolean, network?: Network });
+ constructor(d: BigInteger, Q?: null, options?: { compressed?: boolean, network?: Network });
constructor(d: null | undefined, Q: any, options?: { compressed?: boolean, network?: Network }); // Q should be ECPoint, but not sure how to define such type
diff --git a/types/blob-util/index.d.ts b/types/blob-util/index.d.ts
index 9ab6cb4b5f..7710734bf2 100644
--- a/types/blob-util/index.d.ts
+++ b/types/blob-util/index.d.ts
@@ -14,59 +14,43 @@ export function createBlob(parts: any[], options?: { type: string }): Blob;
/**
* Shim for URL.createObjectURL() to support browsers that only have the prefixed webkitURL (e.g. Android <4.4).
- *
- * @param blob
*/
export function createObjectURL(blob: Blob): string;
/**
* Shim for URL.revokeObjectURL() to support browsers that only have the prefixed webkitURL (e.g. Android <4.4).
- *
- * @param url
*/
export function revokeObjectURL(url: string): void;
/**
* Convert a Blob to a binary string.
- *
- * @param blob
*/
export function blobToBinaryString(blob: Blob): Promise;
/**
* Convert a binary string to a Blob.
- *
- * @param binary
* @param type the content type
*/
export function binaryStringToBlob(binary: string, type?: string): Promise;
/**
* Convert a Blob to a base-64 string.
- *
- * @param blob
*/
export function blobToBase64String(blob: Blob): Promise;
/**
* Convert a base-64 string to a Blob.
- *
- * @param base64
* @param type the content type
*/
export function base64StringToBlob(base64: string, type?: string): Promise;
/**
* Convert a data URL string (e.g. `'data:image/png;base64,iVBORw0KG...'`) to a Blob.
- *
- * @param dataURL
*/
export function dataURLToBlob(dataURL: string): Promise;
/**
* Convert a Blob to a data URL string (e.g. `'data:image/png;base64,iVBORw0KG...'`).
- *
- * @param blob
*/
export function blobToDataURL(blob: Blob): Promise;
@@ -75,7 +59,6 @@ export function blobToDataURL(blob: Blob): Promise;
*
* Note: this will coerce the image to the desired content type, and it will only paint the first frame of an animated GIF.
*
- * @param src
* @param type the content type (optional, defaults to 'image/png')
* @param crossOrigin for CORS-enabled images, set this to 'Anonymous' to avoid "tainted canvas" errors
* @param quality a number between 0 and 1 indicating image quality if the requested type is 'image/jpeg' or 'image/webp'
@@ -85,7 +68,6 @@ export function imgSrcToDataURL(src: string, type?: string, crossOrigin?: string
/**
* Convert a canvas to a Blob.
*
- * @param src
* @param type the content type (optional, defaults to 'image/png')
* @param quality a number between 0 and 1 indicating image quality if the requested type is 'image/jpeg' or 'image/webp'
*/
@@ -96,7 +78,6 @@ export function canvasToBlob(canvas: HTMLCanvasElement, type?: string, quality?:
*
* Note: this will coerce the image to the desired content type, and it will only paint the first frame of an animated GIF.
*
- * @param src
* @param type the content type (optional, defaults to 'image/png')
* @param crossOrigin for CORS-enabled images, set this to 'Anonymous' to avoid "tainted canvas" errors
* @param quality a number between 0 and 1 indicating image quality if the requested type is 'image/jpeg' or 'image/webp'
@@ -106,14 +87,11 @@ export function imgSrcToBlob(src: string, type?: string, crossOrigin?: string, q
/**
* Convert an ArrayBuffer to a Blob.
*
- * @param arrayBuff
* @param type the content type
*/
export function arrayBufferToBlob(arrayBuff: ArrayBuffer, type?: string): Promise;
/**
* Convert a Blob to an ArrayBuffer.
- *
- * @param blob
*/
export function blobToArrayBuffer(blob: Blob): Promise;
diff --git a/types/bluebird-global/tslint.json b/types/bluebird-global/tslint.json
index 1d81af2349..31bf31d881 100644
--- a/types/bluebird-global/tslint.json
+++ b/types/bluebird-global/tslint.json
@@ -6,6 +6,7 @@
"array-type": false,
"unified-signatures": false,
"ban-types": false,
+ "no-redundant-undefined": false,
"no-unnecessary-generics": false
}
}
diff --git a/types/bluebird/tslint.json b/types/bluebird/tslint.json
index 44da6a5d92..3f946593ed 100644
--- a/types/bluebird/tslint.json
+++ b/types/bluebird/tslint.json
@@ -3,6 +3,7 @@
"rules": {
"adjacent-overload-signatures": false,
"max-line-length": [true, 490],
+ "no-redundant-undefined": false,
"no-unnecessary-callback-wrapper": false,
"no-unnecessary-generics": false,
"no-void-expression": false,
diff --git a/types/bootstrap-slider/index.d.ts b/types/bootstrap-slider/index.d.ts
index 557c7aa5ad..b17f912d57 100644
--- a/types/bootstrap-slider/index.d.ts
+++ b/types/bootstrap-slider/index.d.ts
@@ -134,7 +134,6 @@ interface SliderPlugin {
(methodName: string, ...args: any[]): TJQuery;
/**
* Creates a slider from the current element.
- * @param options
*/
(options?: SliderOptions): TJQuery;
}
@@ -163,9 +162,6 @@ declare class Slider {
/**
* Set a new value for the slider. If optional triggerSlideEvent parameter is true, 'slide' events will be triggered.
* If optional triggerChangeEvent parameter is true, 'change' events will be triggered.
- * @param newValue
- * @param triggerSlideEvent
- * @param triggerChangeEvent
*/
setValue(newValue: number, triggerSlideEvent?: boolean, triggerChangeEvent?: boolean): this;
/**
@@ -186,13 +182,10 @@ declare class Slider {
isEnabled(): boolean;
/**
* Updates the slider's attributes
- * @param attribute
- * @param value
*/
setAttribute(attribute: string, value: any): this;
/**
* Get the slider's attributes
- * @param attribute
*/
getAttribute(attribute: string): any;
/**
diff --git a/types/bull/index.d.ts b/types/bull/index.d.ts
index 5754236da8..abfd4ddd98 100644
--- a/types/bull/index.d.ts
+++ b/types/bull/index.d.ts
@@ -88,13 +88,13 @@ declare namespace Bull {
/**
* Removes a job from the queue and from any lists it may be included in.
- * @returns {Promise} A promise that resolves when the job is removed.
+ * @returns A promise that resolves when the job is removed.
*/
remove(): Promise;
/**
* Re-run a job that has failed.
- * @returns {Promise} A promise that resolves when the job is scheduled for retry.
+ * @returns A promise that resolves when the job is scheduled for retry.
*/
retry(): Promise;
diff --git a/types/bunyan-blackhole/index.d.ts b/types/bunyan-blackhole/index.d.ts
index f8be6fc730..2ece8b2f40 100644
--- a/types/bunyan-blackhole/index.d.ts
+++ b/types/bunyan-blackhole/index.d.ts
@@ -7,8 +7,8 @@ import * as Logger from "bunyan";
/**
* Constructor.
- * @param {string} [name] name of the blackhole Logger
- * @return {Logger} A bunyan logger .
+ * @param name name of the blackhole Logger
+ * @return A bunyan logger .
*/
declare function bunyanBlackHole(name: string): Logger;
export = bunyanBlackHole;
diff --git a/types/chai-jest-snapshot/index.d.ts b/types/chai-jest-snapshot/index.d.ts
index f19158e282..40ce5afc1b 100644
--- a/types/chai-jest-snapshot/index.d.ts
+++ b/types/chai-jest-snapshot/index.d.ts
@@ -9,12 +9,7 @@
declare global {
namespace Chai {
interface Assertion {
- /**
- * Assert that the object matches the snapshot
- * @param snapshotFilename
- * @param snapshotName
- * @param update
- */
+ /** Assert that the object matches the snapshot */
matchSnapshot(snapshotFilename?: string, snapshotName?: string, update?: boolean): Assertion;
matchSnapshot(update: boolean): Assertion;
}
@@ -22,40 +17,24 @@ declare global {
}
interface ChaiJestSnapshot {
- /**
- * Chai bootstrapper
- * @param chai
- * @param utils
- */
+ /** Chai bootstrapper */
(chai: any, utils: any): void;
- /**
- * Set snapshot file name
- * @param filename
- */
+ /** Set snapshot file name */
setFileName(filename: string): void;
/**
* Set snapshot test name
- * @param testname
*/
setTestName(testname: string): void;
- /**
- * Configure snapshot name using mocha context
- * @param context
- */
+ /** Configure snapshot name using mocha context */
configureUsingMochaContext(context: Mocha.IBeforeAndAfterContext): void;
- /**
- * Reset snapshot registry
- */
+ /** Reset snapshot registry */
resetSnapshotRegistry(): void;
- /**
- * Add a serializer plugin
- * @param serializer
- */
+ /** Add a serializer plugin */
addSerializer(serializer: any): void;
}
diff --git a/types/chroma-js/index.d.ts b/types/chroma-js/index.d.ts
index f826c8f254..c18484dc1f 100644
--- a/types/chroma-js/index.d.ts
+++ b/types/chroma-js/index.d.ts
@@ -34,9 +34,6 @@ declare namespace chroma {
/**
* Create a color in the specified color space using a, b and c as values.
*
- * @param a
- * @param b
- * @param c
* @param colorSpace The color space to use. Defaults to "rgb".
* @return the color object.
*/
diff --git a/types/clipboard/index.d.ts b/types/clipboard/index.d.ts
index 0aa51518dd..76d28674d6 100644
--- a/types/clipboard/index.d.ts
+++ b/types/clipboard/index.d.ts
@@ -8,7 +8,7 @@ declare class Clipboard {
/**
* Subscribes to events that indicate the result of a copy/cut operation.
- * @param type {"success" | "error"} Event type ('success' or 'error').
+ * @param type Event type ('success' or 'error').
* @param handler Callback function.
*/
on(type: "success" | "error", handler: (e: Clipboard.Event) => void): this;
@@ -29,22 +29,21 @@ declare namespace Clipboard {
interface Options {
/**
* Overwrites default command ('cut' or 'copy').
- * @param {Element} elem Current element
- * @returns {String} Only 'cut' or 'copy'.
+ * @param elem Current element
*/
- action?(elem: Element): string;
+ action?(elem: Element): "cut" | "copy";
/**
* Overwrites default target input element.
- * @param {Element} elem Current element
- * @returns {Element} element to use.
+ * @param elem Current element
+ * @returns element to use.
*/
target?(elem: Element): Element;
/**
* Returns the explicit text to copy.
- * @param {Element} elem Current element
- * @returns {String} Text to be copied.
+ * @param elem Current element
+ * @returns Text to be copied.
*/
text?(elem: Element): string;
}
diff --git a/types/combine-source-map/index.d.ts b/types/combine-source-map/index.d.ts
index 43f1c994b0..3855942092 100644
--- a/types/combine-source-map/index.d.ts
+++ b/types/combine-source-map/index.d.ts
@@ -3,13 +3,15 @@
// Definitions by: TeamworkGuy2
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-/** Add source maps of multiple files, offset them and then combine them into one source map.
+/**
+ * Add source maps of multiple files, offset them and then combine them into one source map.
* (documentation based on project's README file)
*/
declare class Combiner {
constructor(file?: string, sourceRoot?: string);
- /** Adds map to underlying source map.
+ /**
+ * Adds map to underlying source map.
* If source contains a source map comment that has the source of the original file inlined it will offset these
* mappings and include them.
* If no source map comment is found or it has no source inlined, mappings for the file will be generated and included
@@ -18,12 +20,14 @@ declare class Combiner {
*/
addFile(opts: { sourceFile: string; source: string }, offset?: Combiner.Offset): Combiner;
- /** output the combined source map in base64 format
+ /**
+ * output the combined source map in base64 format
* @return base64 encoded combined source map
*/
base64(): string;
- /** generate a base64 encoded sourceMappingURL comment
+ /**
+ * generate a base64 encoded sourceMappingURL comment
* @return base64 encoded sourceMappingUrl comment of the combined source map
*/
comment(): string;
@@ -40,15 +44,15 @@ declare namespace Combiner {
column?: number;
}
- /** Create a source map combiner that accepts multiple files, offsets them and then combines them into one source map.
+ /**
+ * Create a source map combiner that accepts multiple files, offsets them and then combines them into one source map.
* @param file optional name of the generated file
* @param sourceRoot optional sourceRoot of the map to be generated
* @return Combiner instance to which source maps can be added and later combined
*/
function create(file?: string, sourceRoot?: string): Combiner;
- /** removeComments
- * @param src
+ /**
* @return src with all sourceMappingUrl comments removed
*/
function removeComments(src: string): string;
diff --git a/types/convert-source-map/index.d.ts b/types/convert-source-map/index.d.ts
index 6b1346b61f..6950445a6c 100644
--- a/types/convert-source-map/index.d.ts
+++ b/types/convert-source-map/index.d.ts
@@ -3,7 +3,8 @@
// Definitions by: Andrew Gaspar , Melvin Groenhoff , TeamworkGuy2
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-/** Converts a source-map from/to different formats and allows adding/changing properties.
+/**
+ * Converts a source-map from/to different formats and allows adding/changing properties.
* (documentation based on project's README file)
*/
export interface SourceMapConverter {
@@ -19,7 +20,8 @@ export interface SourceMapConverter {
/** Converts source map to base64 encoded json string */
toBase64(): string;
- /** Converts source map to an inline comment that can be appended to the source-file.
+ /**
+ * Converts source map to an inline comment that can be appended to the source-file.
* By default, the comment is formatted like: //# sourceMappingURL=..., which you would normally see in a JS source file.
* When options.multiline == true, the comment is formatted like: /*# sourceMappingURL=... *\/, which you would find in a CSS source file
*/
@@ -47,16 +49,19 @@ export function fromBase64(base64: string): SourceMapConverter;
/** Returns source map converter from given base64 encoded json string prefixed with //# sourceMappingURL=... */
export function fromComment(comment: string): SourceMapConverter;
-/** Returns source map converter from given filename by parsing //# sourceMappingURL=filename.
+/**
+ * Returns source map converter from given filename by parsing //# sourceMappingURL=filename.
* filename must point to a file that is found inside the mapFileDir. Most tools store this file right next to the generated file, i.e. the one containing the source map.
*/
export function fromMapFileComment(comment: string, commentFileDir: string): SourceMapConverter;
-/** Finds last sourcemap comment in file and returns source map converter or returns null if no source map comment was found.
+/**
+ * Finds last sourcemap comment in file and returns source map converter or returns null if no source map comment was found.
*/
export function fromSource(content: string): SourceMapConverter | null;
-/** Finds last sourcemap comment in file and returns source map converter or returns null if no source map comment was found.
+/**
+ * Finds last sourcemap comment in file and returns source map converter or returns null if no source map comment was found.
* The sourcemap will be read from the map file found by parsing # sourceMappingURL=file comment. For more info see fromMapFileComment.
*/
export function fromMapFileSource(content: string, commentFileDir: string): SourceMapConverter | null;
@@ -73,7 +78,8 @@ export const commentRegex: RegExp;
/** Returns a new regex used to find source map comments pointing to map files */
export const mapFileCommentRegex: RegExp;
-/** Returns a comment that links to an external source map via file.
+/**
+ * Returns a comment that links to an external source map via file.
* By default, the comment is formatted like: //# sourceMappingURL=..., which you would normally see in a JS source file.
* When options.multiline == true, the comment is formatted like: /*# sourceMappingURL=... *\/, which you would find in a CSS source file.
*/
diff --git a/types/convict/index.d.ts b/types/convict/index.d.ts
index 5aac427dd0..9a31e0ccbb 100644
--- a/types/convict/index.d.ts
+++ b/types/convict/index.d.ts
@@ -69,48 +69,40 @@ declare namespace convict {
* Sets the value of name to value. name can use dot notation to reference
* nested values, e.g. "database.port". If objects in the chain don't yet
* exist, they will be initialized to empty objects
- *
- * @return {Config} instance
*/
set(name: string, value: any): Config;
/**
* Loads and merges a JavaScript object into config
- *
- * @return {Config} instance
*/
load(conf: Object): Config;
/**
* Loads and merges JSON configuration file(s) into config
- *
- * @return {Config} instance
*/
loadFile(files: string | string[]): Config;
/**
* Validates config against the schema used to initialize it
- *
- * @param options
*/
validate(options?: ValidateOptions): Config;
/**
* Exports all the properties (that is the keys and their current values) as a {JSON} {Object}
- * @returns {Object} A {JSON} compliant {Object}
+ * @returns A {JSON} compliant {Object}
*/
getProperties(): Object;
/**
* Exports the schema as a {JSON} {Object}
- * @returns {Object} A {JSON} compliant {Object}
+ * @returns A {JSON} compliant {Object}
*/
getSchema(): Object;
/**
* Exports all the properties (that is the keys and their current values) as a JSON string.
- * @returns {String} a string representing this object
+ * @returns A string representing this object
*/
toString(): string;
/**
* Exports the schema as a JSON string.
- * @returns {String} a string representing the schema of this {Config}
+ * @returns A string representing the schema of this {Config}
*/
getSchemaString(): string;
}
diff --git a/types/cookie-signature/index.d.ts b/types/cookie-signature/index.d.ts
index b9b29911a6..cb044f4636 100644
--- a/types/cookie-signature/index.d.ts
+++ b/types/cookie-signature/index.d.ts
@@ -3,19 +3,11 @@
// Definitions by: François Nguyen
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-/**
- * Sign the given `val` with `secret`.
- * @param {string} val
- * @param {string} secret
- * @return {string}
- */
+/** Sign the given `val` with `secret`. */
export function sign(value: string, secret: string): string;
/**
* Unsign and decode the given `val` with `secret`,
* returning `false` if the signature is invalid.
- * @param {string} val
- * @param {string} secret
- * @return {string|boolean}
*/
export function unsign(value: string, secret: string): string | boolean;
diff --git a/types/cordova-plugin-native-keyboard/index.d.ts b/types/cordova-plugin-native-keyboard/index.d.ts
index 0f64199bd1..9acc3d0be5 100644
--- a/types/cordova-plugin-native-keyboard/index.d.ts
+++ b/types/cordova-plugin-native-keyboard/index.d.ts
@@ -6,7 +6,6 @@ interface NativeKeyboard {
/**
* Show the messenger, the bare minimum which has to be passed to the function is
* the onSubmit callback
- * @param options
*/
showMessenger(
options: NativeKeyboardShowOptions
@@ -16,10 +15,6 @@ interface NativeKeyboard {
* It's likely your app only has 1 one page where you want to show the messenger,
* so you want to hide it when the user navigates away. You can choose to do this
* either animated (a quick slide down animation) or not.
- *
- * @param options
- * @param onSuccess
- * @param onError
*/
hideMessenger(
options?: NativeKeyboardHideOptions,
@@ -29,9 +24,6 @@ interface NativeKeyboard {
/**
* Show a previously hidden keyboard
- *
- * @param onSuccess
- * @param onError
*/
showMessengerKeyboard(
onSuccess?: () => void,
@@ -40,9 +32,6 @@ interface NativeKeyboard {
/**
* Hide the keyboard, but not the messenger bar
- *
- * @param onSuccess
- * @param onError
*/
hideMessengerKeyboard(
onSuccess?: () => void,
@@ -53,10 +42,6 @@ interface NativeKeyboard {
* Manipulate the messenger while it's open. For instance if you want to
* update the text programmatically based on what the user typed (by responding to
* onTextChanged events).
- *
- * @param options
- * @param onSuccess
- * @param onError
*/
updateMessenger(
options: NativeKeyboardUpdateOptions,
@@ -92,7 +77,6 @@ interface NativeKeyboardHideOptions {
interface NativeKeyboardShowOptions {
/**
* Callback function, which is being called as soon as the user submits
- * @param text
*/
onSubmit(text: string): void;
@@ -119,8 +103,6 @@ interface NativeKeyboardShowOptions {
/**
* Callback function which is being executed as soon as the entered text changes. Will
* return the new text
- *
- * @param text
*/
onTextChanged?(text: string): void;
diff --git a/types/cytoscape/index.d.ts b/types/cytoscape/index.d.ts
index 3a618195d1..21d6d4344b 100644
--- a/types/cytoscape/index.d.ts
+++ b/types/cytoscape/index.d.ts
@@ -2711,7 +2711,8 @@ declare namespace cytoscape {
* http://js.cytoscape.org/#eles.degreeCentrality
*/
interface SearchDegreeCentralityOptions {
- /** The root node (selector or collection) for which the
+ /**
+ * The root node (selector or collection) for which the
* centrality calculation is made.
*/
root: NodeSingular | Selector;
@@ -2725,7 +2726,8 @@ declare namespace cytoscape {
* in the centrality calculation.
*/
alpha?: number;
- /** A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or
+ /**
+ * Whether the directed indegree and outdegree centrality is calculated (true) or
* whether the undirected centrality is calculated (false, default).
*/
directed?: boolean;
@@ -2757,7 +2759,8 @@ declare namespace cytoscape {
* in the centrality calculation.
*/
alpha?: number;
- /** A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or
+ /**
+ * A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or
* whether the undirected centrality is calculated (false, default).
*/
directed?: boolean;
@@ -2780,14 +2783,16 @@ declare namespace cytoscape {
* http://js.cytoscape.org/#eles.closenessCentrality
*/
interface SearchClosenessCentralityOptions {
- /** The root node (selector or collection) for which the
+ /**
+ * The root node (selector or collection) for which the
* centrality calculation is made.
*/
root: NodeSingular | Selector;
/** A function that returns the weight for the edge. */
weight?(edge: EdgeSingular): number;
- /** A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or
+ /**
+ * A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or
* whether the undirected centrality is calculated (false, default).
*/
directed?: boolean;
@@ -2829,7 +2834,8 @@ declare namespace cytoscape {
/** A function that returns the weight for the edge. */
weight?(edge: EdgeSingular): number;
- /** A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or
+ /**
+ * A boolean indicating whether the directed indegree and outdegree centrality is calculated (true) or
* whether the undirected centrality is calculated (false, default).
*/
directed?: boolean;
@@ -3976,7 +3982,8 @@ declare namespace cytoscape {
originalEvent: EventObject;
}
interface LayoutEventObject extends AbstractEventObject {
- /** layout : indicates the corresponding layout that triggered the event
+ /**
+ * layout : indicates the corresponding layout that triggered the event
* (useful if running multiple layouts simultaneously)
*/
layout: any;
@@ -4357,12 +4364,14 @@ declare namespace cytoscape {
* A new, developer accessible layout can be made via cy.makeLayout().
*/
interface LayoutManipulation {
- /** Start running the layout
+ /**
+ * Start running the layout
* http://js.cytoscape.org/#layout.run
*/
run(): void;
start(): void;
- /** Stop running the (asynchronous/discrete) layout
+ /**
+ * Stop running the (asynchronous/discrete) layout
* http://js.cytoscape.org/#layout.stop
*/
stop(): void;
diff --git a/types/delay/index.d.ts b/types/delay/index.d.ts
index f84c7ab5e4..0ec894f1e1 100644
--- a/types/delay/index.d.ts
+++ b/types/delay/index.d.ts
@@ -22,9 +22,9 @@ declare namespace delay {
type PDelayedPassThroughThunk = ((value: TValue) => DelayedPromiseLike) & DelayedPromiseLike;
interface DelayedPromiseLike {
- then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null,
- onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise;
- catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise;
+ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | null,
+ onrejected?: ((reason: any) => TResult2 | PromiseLike) | null): Promise;
+ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | null): Promise;
cancel(): void;
}
}
diff --git a/types/dom-inputevent/index.d.ts b/types/dom-inputevent/index.d.ts
index df1cce5ec4..0d2111a0e0 100644
--- a/types/dom-inputevent/index.d.ts
+++ b/types/dom-inputevent/index.d.ts
@@ -7,11 +7,11 @@ interface InputEventInit extends UIEventInit {
data?: string;
isComposing: boolean;
}
-interface InputEvent extends UIEvent {
+
+// tslint:disable-next-line no-empty-interface
+interface InputEvent extends UIEvent {}
+declare class InputEvent {
+ constructor(typeArg: 'input' | 'beforeinput', inputEventInit?: InputEventInit);
readonly data: string;
readonly isComposing: boolean;
}
-
-declare class InputEvent {
- constructor(typeArg: 'input' | 'beforeinput', inputEventInit?: InputEventInit);
-}
diff --git a/types/dwt/tslint.json b/types/dwt/tslint.json
index acce7c8a0b..5d3b93bdf9 100644
--- a/types/dwt/tslint.json
+++ b/types/dwt/tslint.json
@@ -1,7 +1,9 @@
{
"extends": "dtslint/dt.json",
"rules": {
+ "jsdoc-format": false,
"max-line-length": [false],
+ "no-redundant-jsdoc": false,
"no-trailing-whitespace": false,
"space-before-function-paren": false,
"only-arrow-functions": [false]
diff --git a/types/dwt/v12/tslint.json b/types/dwt/v12/tslint.json
index acce7c8a0b..5d3b93bdf9 100644
--- a/types/dwt/v12/tslint.json
+++ b/types/dwt/v12/tslint.json
@@ -1,7 +1,9 @@
{
"extends": "dtslint/dt.json",
"rules": {
+ "jsdoc-format": false,
"max-line-length": [false],
+ "no-redundant-jsdoc": false,
"no-trailing-whitespace": false,
"space-before-function-paren": false,
"only-arrow-functions": [false]
diff --git a/types/electron-settings/v2/index.d.ts b/types/electron-settings/v2/index.d.ts
index a869fd52b8..2f767358e5 100644
--- a/types/electron-settings/v2/index.d.ts
+++ b/types/electron-settings/v2/index.d.ts
@@ -73,7 +73,6 @@ declare class Settings extends EventEmitter {
*
* @param keyPath The path to the key whose value we wish to set. This key need not already exist.
* @param value The value to set the key at the chosen key path to. This must be a data type supported by JSON: object, array, string, number, boolean, or null.
- * @param options
* @throws if key path is not a string.
* @throws if options is not an object.
* @see setSync
@@ -91,7 +90,6 @@ declare class Settings extends EventEmitter {
* Deletes the key and value at the chosen key path.
*
* @param keyPath The path to the key we wish to unset.
- * @param options
* @throws if keyPath is not a string.
* @throws if options is not an object.
* @see deleteSync
diff --git a/types/execa/index.d.ts b/types/execa/index.d.ts
index c74c60672d..84c6939798 100644
--- a/types/execa/index.d.ts
+++ b/types/execa/index.d.ts
@@ -43,7 +43,7 @@ interface ExecaReturns {
type ExecaError = Error & ExecaReturns;
interface ExecaChildPromise {
- catch(onrejected?: ((reason: ExecaError) => TResult | PromiseLike) | undefined | null): Promise;
+ catch(onrejected?: ((reason: ExecaError) => TResult | PromiseLike) | null): Promise;
}
type ExecaChildProcess = ChildProcess & ExecaChildPromise & Promise;
diff --git a/types/express-brute-mongo/index.d.ts b/types/express-brute-mongo/index.d.ts
index 56af09a099..0b637ed37b 100644
--- a/types/express-brute-mongo/index.d.ts
+++ b/types/express-brute-mongo/index.d.ts
@@ -8,15 +8,8 @@ import { Collection } from "mongodb";
/**
* @summary MongoDB store adapter.
- * @class
*/
declare class MongoStore {
- /**
- * @summary Constructor.
- * @constructor
- * @param {Function} getCollection The collection.
- * @param {Object} options The otpions.
- */
constructor(getCollection: (collection: (c: Collection) => void) => void, options?: Object);
}
export = MongoStore;
diff --git a/types/express-brute-mongo/tslint.json b/types/express-brute-mongo/tslint.json
index c0ad422b87..81e3db2614 100644
--- a/types/express-brute-mongo/tslint.json
+++ b/types/express-brute-mongo/tslint.json
@@ -1,8 +1,9 @@
{
"extends": "dtslint/dt.json",
"rules": {
- // TODO
+ // TODOs
"ban-types": false,
- "dt-header": false
+ "dt-header": false,
+ "no-unnecessary-class": false
}
}
diff --git a/types/express-mysql-session/index.d.ts b/types/express-mysql-session/index.d.ts
index f8d6282ecd..14c857b5dc 100644
--- a/types/express-mysql-session/index.d.ts
+++ b/types/express-mysql-session/index.d.ts
@@ -30,106 +30,35 @@ declare namespace MySQLStore {
}
declare class MySQLStore {
- /**
- * @param {MySQLStore.Options} options
- * @param {any} connection?
- * @param {(error:any)=>void} callback?
- */
constructor(options: MySQLStore.Options, connection?: any, callback?: (error: any) => void);
- /**
- * @returns void
- */
setDefaultOptions(): void;
- /**
- * @param {(error:any)=>void} callback?
- * @returns void
- */
createDatabaseTable(callback?: (error: any) => void): void;
- /**
- * @param {string} sessionId
- * @param {(error:any,session:any)=>void} callback?
- * @returns void
- */
get(sessionId: string, callback?: (error: any, session: any) => void): void;
- /**
- * @param {string} sessionId
- * @param {any} data
- * @param {(error:any)=>void} callback?
- * @returns void
- */
set(sessionId: string, data: any, callback?: (error: any) => void): void;
- /**
- * @param {string} sessionId
- * @param {any} data
- * @param {(error:any)=>void} callback?
- * @returns void
- */
touch(sessionId: string, data: any, callback?: (error: any) => void): void;
- /**
- * @param {string} sessionId
- * @param {(error:any)=>void} callback?
- * @returns void
- */
destroy(sessionId: string, callback?: (error: any) => void): void;
- /**
- * @param {(error:any,count:any)=>void} callback?
- * @returns void
- */
length(callback?: (error: any, count: any) => void): void;
- /**
- * @param {(error:any)=>void} callback?
- * @returns void
- */
clear(callback?: (error: any) => void): void;
- /**
- * @param {(error:any)=>void} callback?
- * @returns void
- */
clearExpiredSessions(callback?: (error: any) => void): void;
- /**
- * @param {number} interval
- * @returns void
- */
setExpirationInterval(interval: number): void;
- /**
- * @returns void
- */
clearExpirationInterval(): void;
- /**
- * @param {()=>void} callback?
- * @returns void
- */
close(callback?: () => void): void;
- /**
- * @param {any} object
- * @param {any} defaultValues
- * @param {any} options?
- * @returns void
- */
default(object: any, defaultValues: any, options?: any): void;
- /**
- * @param {any} object
- * @returns void
- */
clone(object: any): void;
- /**
- * @param {any} value
- * @returns void
- */
isObject(value: any): void;
}
diff --git a/types/firebird/index.d.ts b/types/firebird/index.d.ts
index eaa20682a6..771a61f706 100644
--- a/types/firebird/index.d.ts
+++ b/types/firebird/index.d.ts
@@ -29,10 +29,6 @@ declare module 'firebird' {
* Connects you to database,
*
* @param database a database name in Firebird notation, i.e. :
- * @param username user name
- * @param pasword
- * @param role
- *
* @throws raises exception on error (try to catch it).
*/
connectSync(db: string, user: string, pass: string, role: string): void;
@@ -41,9 +37,6 @@ declare module 'firebird' {
* Asynchronously connects you to Database.
*
* @param database a database name in Firebird notation, i.e. :
- * @param username user name
- * @param pasword
- * @param role
* @param callback function(err), where err is error object in case of error.
*/
connect(db: string, user: string, pass: string, role: string, callback: (err: Error | null) => void): void;
@@ -148,7 +141,8 @@ declare module 'firebird' {
*/
start(callback: (err: Error | null) => void): void;
- /**Synchronously prepares SQL statement and returns FBStatement object.
+ /**
+ * Synchronously prepares SQL statement and returns FBStatement object.
*
* @param sql an SQL query to prepare.
*/
@@ -327,7 +321,7 @@ declare module 'firebird' {
* Synchronously prepares SQL statement
*
* @param sql an SQL query to prepare.
- * @returns @see FBStatement object in context of this transaction.
+ * @returns object in context of this transaction.
*/
prepareSync(sql: string): FBStatement;
@@ -357,9 +351,6 @@ declare module 'firebird' {
/**
* Same as @see execSync but executes statement in context of given @see Transaction obejct.
- *
- * @param transaction
- * @param params
*/
execInTransSync(transaction: Transaction, ...params: DataType[]): void;
@@ -377,9 +368,6 @@ declare module 'firebird' {
/**
* Same as @see exec but executes statement in context of given @see Transaction obejct.
- *
- * @param transaction
- * @param params
*/
execInTrans(transaction: Transaction, ...params: DataType[]): void;
}
diff --git a/types/flickity/index.d.ts b/types/flickity/index.d.ts
index fda440b1fe..ae5dc46cb7 100644
--- a/types/flickity/index.d.ts
+++ b/types/flickity/index.d.ts
@@ -80,19 +80,16 @@ declare class Flickity {
// properties
/**
- * @type integer
* The selected cell index.
*/
selectedIndex: number;
/**
- * @type Element
* The selected cell element.
*/
selectedElement: Element;
/**
- * @type Element[]
* The array of cells. Use cells.length for the total number of cells.
*/
cells: Element[];
@@ -144,10 +141,9 @@ declare class Flickity {
/**
* Select a slide of a cell. Useful for groupCells.
*
- * @param {number | string} index Zero-based index OR selector string of the cell to select.
- * @param {boolean} [isWrapped] Optional. If true, the last slide will be selected if at the first slide.
- * @param {boolean} [isInstant] If true, immediately view the selected slide without animation.
- * @memberof Flickity
+ * @param index Zero-based index OR selector string of the cell to select.
+ * @param isWrapped If true, the last slide will be selected if at the first slide.
+ * @param isInstant If true, immediately view the selected slide without animation.
*/
selectCell(index: number | string, isWrapped?: boolean, isInstant?: boolean): void;
diff --git a/types/fm-websync/index.d.ts b/types/fm-websync/index.d.ts
index ef5d51d64b..997c4666d1 100644
--- a/types/fm-websync/index.d.ts
+++ b/types/fm-websync/index.d.ts
@@ -469,8 +469,6 @@ declare namespace fm {
* While this method will typically run asychronously, the WebSync client is designed to be used without (much) consideration for its asynchronous nature.
* To that end, any calls to methods that require an active connection, like bind, subscribe and publish, will be queued automatically and executed once this
* method has completed successfully.
- *
- * @param connectConfig
*/
connect(config: connectConfig): client;
@@ -506,7 +504,6 @@ declare namespace fm {
* Unsubscribes the client from receiving messages on one or more channels.
* When the unsubscribe completes successfully, the callback specified by onSuccess will be invoked, passing in the unsubscribed channel(s),
* including any modifications made on the server.
- * @param config
*/
unsubscribe(config: unsubscribeConfig): client;
}
diff --git a/types/fs-extra-promise-es6/index.d.ts b/types/fs-extra-promise-es6/index.d.ts
index f5847dd6f0..0f52b5c02e 100644
--- a/types/fs-extra-promise-es6/index.d.ts
+++ b/types/fs-extra-promise-es6/index.d.ts
@@ -117,64 +117,15 @@ export function write(fd: number, buffer: NodeBuffer, offset: number, length: nu
export function writeSync(fd: number, buffer: NodeBuffer, offset: number, length: number, position: number): number;
export function read(fd: number, buffer: NodeBuffer, offset: number, length: number, position: number, callback?: (err: Error, bytesRead: number, buffer: NodeBuffer) => void): void;
export function readSync(fd: number, buffer: NodeBuffer, offset: number, length: number, position: number): number;
-/**
- * readFile
- * @param filename
- * @param options
- * string: encoding
- * OpenOptions: options
- * @param callback
- */
export function readFile(filename: string, options: OpenOptions | string, callback: (err: Error, data: string) => void): void;
export function readFile(filename: string, callback: (err: Error, data: NodeBuffer) => void): void;
export function readFileSync(filename: string): NodeBuffer;
-/**
- * readFileSync
- * @param filename
- * @param options
- * string: encoding
- * OpenOptions: options
- */
export function readFileSync(filename: string, options: OpenOptions | string): string;
-/**
- * writeFile
- * @param filename
- * @param data
- * @param options
- * string: encoding
- * OpenOptions: options
- * @param callback
- */
export function writeFile(filename: string, data: any, callback?: (err: Error) => void): void;
export function writeFile(filename: string, data: any, options: OpenOptions | string, callback?: (err: Error) => void): void;
-/**
- * writeFileSync
- * @param filename
- * @param data
- * @param option
- * string: encoding
- * OpenOptions: options
- */
export function writeFileSync(filename: string, data: any, option?: OpenOptions | string): void;
-/**
- * appendFile
- * @param filename
- * @param data
- * @param option:
- * string: encoding
- * OpenOptions: options
- * @param callback
- */
export function appendFile(filename: string, data: any, callback?: (err: Error) => void): void;
export function appendFile(filename: string, data: any, option: OpenOptions | string, callback?: (err: Error) => void): void;
-/**
- * appendFileSync
- * @param filename
- * @param data
- * @param option
- * string: encoding
- * OpenOptions: options
- */
export function appendFileSync(filename: string, data: any, option?: OpenOptions | string): void;
export function watchFile(filename: string, listener: { curr: Stats; prev: Stats; }): void;
export function watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: { curr: Stats; prev: Stats; }): void;
@@ -252,32 +203,9 @@ export function futimesAsync(fd: number, atime: number, mtime: number): Promise<
export function fsyncAsync(fd: number): Promise;
export function writeAsync(fd: number, buffer: NodeBuffer, offset: number, length: number, position: number): Promise<[number, NodeBuffer]>;
export function readAsync(fd: number, buffer: NodeBuffer, offset: number, length: number, position: number): Promise<[number, NodeBuffer]>;
-/**
- * readFileAsync
- * @param filename
- * @param options:
- * string: encoding
- * OpenOptions: options
- */
export function readFileAsync(filename: string, options: OpenOptions | string): Promise;
export function readFileAsync(filename: string): Promise;
-/**
- * writeFileAsync
- * @param filename
- * @param data
- * @param options:
- * string: encoding
- * OpenOptions: options
- */
export function writeFileAsync(filename: string, data: any, options?: OpenOptions | string): Promise;
-/**
- * appendFileAsync
- * @param filename
- * @param data
- * @param option:
- * string: encoding
- * OpenOptions: option
- */
export function appendFileAsync(filename: string, data: any, option?: OpenOptions | string): Promise;
export function existsAsync(path: string): Promise;
diff --git a/types/fs-extra-promise/index.d.ts b/types/fs-extra-promise/index.d.ts
index 9d174f791f..de47c81a1e 100644
--- a/types/fs-extra-promise/index.d.ts
+++ b/types/fs-extra-promise/index.d.ts
@@ -19,14 +19,6 @@ export interface MkdirOptions {
}
// promisified versions
-/**
- * copyAsync
- * @param src
- * @param dest
- * @param options
- * CopyFilter: filter
- * CopyOptions: options
- */
export function copyAsync(src: string, dest: string, options?: CopyFilter | CopyOptions): Promise;
export function createFileAsync(file: string): Promise;
@@ -75,32 +67,9 @@ export function futimesAsync(fd: number, atime: number, mtime: number): Promise<
export function fsyncAsync(fd: number): Promise;
export function writeAsync(fd: number, buffer: NodeBuffer, offset: number, length: number, position: number): Promise<[number, NodeBuffer]>;
export function readAsync(fd: number, buffer: NodeBuffer, offset: number, length: number, position: number): Promise<[number, NodeBuffer]>;
-/**
- * readFileAsync
- * @param filename
- * @param options:
- * string: encoding
- * ReadOptions: options
- */
export function readFileAsync(filename: string, options: string | ReadOptions): Promise;
export function readFileAsync(filename: string): Promise;
-/**
- * writeFileAsync
- * @param filename
- * @param data
- * @param options:
- * string: encoding
- * WriteOptions: options
- */
export function writeFileAsync(filename: string, data: any, options?: string | WriteOptions): Promise;
-/**
- * appendFileAsync
- * @param filename
- * @param data
- * @param options:
- * string: encoding
- * WriteOptions: options
- */
export function appendFileAsync(filename: string, data: any, option?: string | WriteOptions): Promise;
export function existsAsync(path: string): Promise;
diff --git a/types/fs-extra/index.d.ts b/types/fs-extra/index.d.ts
index 60c112c68b..84548e48a4 100644
--- a/types/fs-extra/index.d.ts
+++ b/types/fs-extra/index.d.ts
@@ -154,15 +154,12 @@ export function lstat(path: string | Buffer): Promise;
/**
* Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777.
*
- * @param path
* @param callback No arguments other than a possible exception are given to the completion callback.
*/
export function mkdir(path: string | Buffer, callback: (err?: NodeJS.ErrnoException | null) => void): void;
/**
* Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777.
*
- * @param path
- * @param mode
* @param callback No arguments other than a possible exception are given to the completion callback.
*/
export function mkdir(path: string | Buffer, mode: number | string, callback: (err?: NodeJS.ErrnoException | null) => void): void;
@@ -200,7 +197,6 @@ export function rename(oldPath: string, newPath: string): Promise;
/**
* Asynchronous rmdir - removes the directory specified in {path}
*
- * @param path
* @param callback No arguments other than a possible exception are given to the completion callback.
*/
export function rmdir(path: string | Buffer, callback: (err?: NodeJS.ErrnoException | null) => void): void;
@@ -219,7 +215,6 @@ export function truncate(path: string | Buffer, len?: number): Promise;
/**
* Asynchronous unlink - deletes the file specified in {path}
*
- * @param path
* @param callback No arguments other than a possible exception are given to the completion callback.
*/
export function unlink(path: string | Buffer, callback: (err?: NodeJS.ErrnoException | null) => void): void;
@@ -245,7 +240,6 @@ export function writeFile(file: string | Buffer | number, data: any, options: {
/**
* Asynchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
*
- * @param prefix
* @param callback The created folder path is passed as a string to the callback's second parameter.
*/
export function mkdtemp(prefix: string): Promise;
diff --git a/types/geodesy/index.d.ts b/types/geodesy/index.d.ts
index 1d8ef3e110..d66de9fe3d 100644
--- a/types/geodesy/index.d.ts
+++ b/types/geodesy/index.d.ts
@@ -94,15 +94,12 @@ export class Utm {
export namespace Dms {
let separator: string;
-}
-
-export class Dms {
- static parseDMS(dmsStr: string): number;
- static toDMS(deg: number, format?: format, dp?: 0 | 2 | 4): string;
- static toLat(deg: number, format?: format, dp?: 0 | 2 | 4): string;
- static toLon(deg: number, format?: format, dp?: 0 | 2 | 4): string;
- static toBrng(deg: number, format?: format, dp?: 0 | 2 | 4): string;
- static compassPoint(bearing: number, precision?: 1 | 2 | 3): string;
+ function parseDMS(dmsStr: string): number;
+ function toDMS(deg: number, format?: format, dp?: 0 | 2 | 4): string;
+ function toLat(deg: number, format?: format, dp?: 0 | 2 | 4): string;
+ function toLon(deg: number, format?: format, dp?: 0 | 2 | 4): string;
+ function toBrng(deg: number, format?: format, dp?: 0 | 2 | 4): string;
+ function compassPoint(bearing: number, precision?: 1 | 2 | 3): string;
}
export class Vector3d {
diff --git a/types/geolib/index.d.ts b/types/geolib/index.d.ts
index 8842c3eb20..b8638ecc71 100644
--- a/types/geolib/index.d.ts
+++ b/types/geolib/index.d.ts
@@ -47,25 +47,29 @@ declare namespace geolib {
unit: string;
}
- /** Calculates the distance between two geo coordinates
+ /**
+ * Calculates the distance between two geo coordinates
*
* Return value is always float and represents the distance in meters.
*/
function getDistance(start: PositionAsDecimal|PositionAsSexadecimal, end: PositionAsDecimal|PositionAsSexadecimal, accuracy?: number, precision?: number): number;
- /** Calculates the distance between two geo coordinates but this method is far more inaccurate as compared to getDistance.
+ /**
+ * Calculates the distance between two geo coordinates but this method is far more inaccurate as compared to getDistance.
* It can take up 2 to 3 arguments. start, end and accuracy can be defined in the same as in getDistance.
*
* Return value is always float that represents the distance in meters.
*/
function getDistanceSimple(start: PositionAsDecimal|PositionAsSexadecimal, end: PositionAsDecimal|PositionAsSexadecimal, accuracy?: number): number;
- /** Calculates the geographical center of all points in a collection of geo coordinates
+ /**
+ * Calculates the geographical center of all points in a collection of geo coordinates
* Takes an object or array of coordinates and calculates the center of it.
*/
function getCenter(coords: PositionAsDecimal[]): PositionAsDecimal;
- /** Calculates the center of the bounds of geo coordinates. Takes an array of coordinates,
+ /**
+ * Calculates the center of the bounds of geo coordinates. Takes an array of coordinates,
* calculate the border of those, and gives back the center of that rectangle. On polygons
* like political borders (eg. states), this may gives a closer result to human expectation,
* than getCenter, because that function can be disturbed by uneven distribution of point in
@@ -74,25 +78,29 @@ declare namespace geolib {
*/
function getCenterOfBounds(coords: PositionAsDecimal[]): PositionAsDecimal;
- /** Calculates the bounds of geo coordinates.
+ /**
+ * Calculates the bounds of geo coordinates.
*
* Returns maximum and minimum, latitude, longitude, and elevation (if provided) in form of an object
*/
function getBounds(coords: PositionWithElevation[]): Bound;
- /** Checks whether a point is inside of a polygon or not. Note: the polygon coords must be in correct order!
+ /**
+ * Checks whether a point is inside of a polygon or not. Note: the polygon coords must be in correct order!
*
* Returns true or false
*/
function isPointInside(latlng: PositionAsDecimal, polygon: PositionAsDecimal[]): boolean;
- /** Similar to is point inside: checks whether a point is inside of a circle or not.
+ /**
+ * Similar to is point inside: checks whether a point is inside of a circle or not.
*
* Returns true or false
*/
function isPointInCircle(latlng: PositionAsDecimal, center: PositionAsDecimal, radius: number): boolean;
- /** Gets rhumb line bearing of two points. Find out about the difference between rhumb line and great circle bearing on Wikipedia.
+ /**
+ * Gets rhumb line bearing of two points. Find out about the difference between rhumb line and great circle bearing on Wikipedia.
* Rhumb line should be fine in most cases: http://en.wikipedia.org/wiki/Rhumb_line#General_and_mathematical_description Function
* is heavily based on Doug Vanderweide's great PHP version (licensed under GPL 3.0)
* http://www.dougv.com/2009/07/13/calculating-the-bearing-and-compass-rose-direction-between-two-latitude-longitude-coordinates-in-php/
@@ -101,13 +109,15 @@ declare namespace geolib {
*/
function getRhumbLineBearing(originLL: PositionAsDecimal, destLL: PositionAsDecimal): number;
- /** Gets great circle bearing of two points. See description of getRhumbLineBearing for more information.
+ /**
+ * Gets great circle bearing of two points. See description of getRhumbLineBearing for more information.
*
* Returns calculated bearing as integer
*/
function getBearing(originLL: PositionAsDecimal, destLL: PositionAsDecimal): number;
- /** Gets the compass direction from an origin coordinate (originLL) to a destination coordinate (destLL).
+ /**
+ * Gets the compass direction from an origin coordinate (originLL) to a destination coordinate (destLL).
* Bearing mode. Can be either circle or rhumbline (default).
*
* Returns an object with a rough (NESW) and an exact direction (NNE, NE, ENE, E, ESE, etc).
@@ -120,22 +130,27 @@ declare namespace geolib {
/** Finds the nearest coordinate to a reference coordinate. */
function findNearest(latlng: PositionAsDecimal, coords: PositionAsDecimal[], offset?: number, limit?: number): Distance[];
- /** Calculates the length of a collection of coordinates.
+ /**
+ * Calculates the length of a collection of coordinates.
*
* Returns the length of the path in meters
*/
function getPathLength(coords: PositionAsDecimal[]): number;
- /** Calculates the speed between two points within a given time span.
+ /**
+ * Calculates the speed between two points within a given time span.
*
* Returns the speed in options.unit (default is km/h).
*/
function getSpeed(coords: PositionInTime[], option?: SpeedOption): number;
- /** Calculates if given point lies in a line formed by start and end */
+ /**
+ * Calculates if given point lies in a line formed by start and end
+ */
function isPointInLine(point: PositionAsDecimal, start: PositionAsDecimal, end: PositionAsDecimal): boolean;
- /** Converts a given distance (in meters) to another unit.
+ /**
+ * Converts a given distance (in meters) to another unit.
* distance distance to be converted (source must be in meter). unit can be one of:
* - m (meter)
* - km (kilometers)
@@ -155,17 +170,20 @@ declare namespace geolib {
/** Converts a decimal coordinate to sexagesimal format */
function decimal2sexagesimal(coord: number): string;
- /** Returns the latitude for a given point and converts it to decimal.
+ /**
+ * Returns the latitude for a given point and converts it to decimal.
* Works with: latitude, lat, 1 (GeoJSON array)
*/
function latitude(latlng: any): number;
- /** Returns the longitude for a given point and converts it to decimal.
+ /**
+ * Returns the longitude for a given point and converts it to decimal.
* Works with: longitude, lng, lon, 0 (GeoJSON array)
*/
function longitude(latlng: any): number;
- /** Returns the elevation for a given point and converts it to decimal.
+ /**
+ * Returns the elevation for a given point and converts it to decimal.
* Works with: elevation, elev, alt, altitude, 2 (GeoJSON array)
*/
function elevation(latlng: any): number;
@@ -173,7 +191,8 @@ declare namespace geolib {
/** Checks if a coordinate is already in decimal format and, if not, converts it to */
function useDecimal(latlng: string|number): number;
- /** Computes the destination point given an initial point, a distance (in meters) and a bearing (in degrees).
+ /**
+ * Computes the destination point given an initial point, a distance (in meters) and a bearing (in degrees).
* If no radius is given it defaults to the mean earth radius of 6371000 meter.
*
* Returns an object: `{"latitude": destLat, "longitude": destLng}`
diff --git a/types/google-protobuf/google-protobuf-tests.ts b/types/google-protobuf/google-protobuf-tests.ts
index 19421754ac..ee9a1c8d66 100644
--- a/types/google-protobuf/google-protobuf-tests.ts
+++ b/types/google-protobuf/google-protobuf-tests.ts
@@ -93,15 +93,15 @@ class MySimple extends jspb.Message {
const field = reader.getFieldNumber();
switch (field) {
case 1:
- const value1 = /** @type {string} */ (reader.readString());
+ const value1 = reader.readString();
msg.setMyString(value1);
break;
case 2:
- const value2 = /** @type {boolean} */ (reader.readBool());
+ const value2 = reader.readBool();
msg.setMyBool(value2);
break;
case 3:
- const value3 = /** @type {string} */ (reader.readString());
+ const value3 = reader.readString();
msg.addSomeLabels(value3);
break;
case 4:
diff --git a/types/graphite-udp/index.d.ts b/types/graphite-udp/index.d.ts
index 167b85673a..dbd07ddf43 100644
--- a/types/graphite-udp/index.d.ts
+++ b/types/graphite-udp/index.d.ts
@@ -55,10 +55,6 @@ export interface ClientOptions {
/**
* called when metrics are sent
* Defaults to null
- *
- * @param {error} Error
- * @param {metrics}
- * @return void
*/
callback?(error: Error, metrics: any): void;
}
@@ -68,19 +64,11 @@ export class Client {
/**
* During the interval time option, if 2 or more metrics with the same name are sent, metrics will be added (summed)
- *
- * @param {name}
- * @param {value} number
- * @return void
*/
add(name: string, value: number): void;
/**
* During the interval time option, if 2 or more metrics with the same name are sent, the last one will be used
- *
- * @param {name} metric name (my.test.metric)
- * @param {value} number
- * @return void
*/
put(name: string, value: number): void;
diff --git a/types/grecaptcha/index.d.ts b/types/grecaptcha/index.d.ts
index 59d1fa6699..067139e6c9 100644
--- a/types/grecaptcha/index.d.ts
+++ b/types/grecaptcha/index.d.ts
@@ -46,21 +46,18 @@ declare namespace ReCaptchaV2 {
* Optional. The color theme of the widget.
* Accepted values: "light", "dark"
* @default "light"
- * @type {Theme}
*/
theme?: Theme;
/**
* Optional. The type of CAPTCHA to serve.
* Accepted values: "audio", "image"
* @default "image"
- * @type {Type}
*/
type?: Type;
/**
* Optional. The size of the widget.
* Accepted values: "compact", "normal", "invisible".
* @default "compact"
- * @type {Size}
*/
size?: Size;
/**
@@ -77,7 +74,6 @@ declare namespace ReCaptchaV2 {
* Optional. The badge location for g-recaptcha with size of "invisible".
*
* @default "bottomright"
- * @type {Badge}
*/
badge?: Badge;
/**
diff --git a/types/har-format/index.d.ts b/types/har-format/index.d.ts
index 09ea2791fd..3ab7fd773e 100644
--- a/types/har-format/index.d.ts
+++ b/types/har-format/index.d.ts
@@ -82,7 +82,8 @@ export interface Browser {
* http://www.softwareishard.com/blog/har-12-spec/#pages
*/
export interface Page {
- /** Date and time stamp for the beginning of the page load
+ /**
+ * Date and time stamp for the beginning of the page load
*
* (ISO 8601 - `YYYY-MM-DDThh:mm:ss.sTZD`,
* e.g. `2009-07-24T19:20:30.45+01:00`).
@@ -266,19 +267,21 @@ export interface Page {
* http://www.softwareishard.com/blog/har-12-spec/#pageTimings
*/
export interface PageTiming {
- /** Content of the page loaded. Number of milliseconds since page load
+ /**
+ * Content of the page loaded. Number of milliseconds since page load
* started (`page.startedDateTime`).
*
* Use `-1` if the timing does not apply to the current request.
*/
onContentLoad?: number;
- /** Page is loaded (`onLoad` event fired). Number of milliseconds since
+ /**
+ * Page is loaded (`onLoad` event fired). Number of milliseconds since
* page load started (`page.startedDateTime`).
*
* Use `-1` if the timing does not apply to the current request.
*/
onLoad?: number;
- /** A comment provided by the user or the application */
+ /** A comment provided by the user or the application */
comment?: string;
_startRender?: number;
}
@@ -562,7 +565,8 @@ export interface Response {
* of header objects._
*/
headersSize: number;
- /** Size of the received response body in bytes.
+ /**
+ * Size of the received response body in bytes.
*
* - Set to zero in case of responses coming from the cache (`304`).
* - Set to `-1` if the info is not available.
@@ -633,12 +637,14 @@ export interface QueryString {
export interface PostData {
/** Mime type of posted data. */
mimeType: string;
- /** List of posted parameters (in case of URL encoded parameters).
+ /**
+ * List of posted parameters (in case of URL encoded parameters).
*
* _`text` and `params` fields are mutually exclusive._
*/
params: Param[];
- /** Plain text posted data
+ /**
+ * Plain text posted data
*
* _`params` and `text` fields are mutually exclusive._
*/
@@ -733,14 +739,16 @@ export interface Cache {
comment?: string;
}
export interface CacheDetails {
- /** Expiration time of the cache entry.
+ /**
+ * Expiration time of the cache entry.
*
* _(Format not documente but assumingly ISO 8601 -
* `YYYY-MM-DDThh:mm:ss.sTZD`)_
*/
expires?: string;
- /** The last time the cache entry was opened.
- * *
+ /**
+ * The last time the cache entry was opened.
+ *
* _(Format not documente but assumingly ISO 8601 -
* `YYYY-MM-DDThh:mm:ss.sTZD`)_
*/
diff --git a/types/haversine/index.d.ts b/types/haversine/index.d.ts
index aa3c0cb1aa..6fed860d8b 100644
--- a/types/haversine/index.d.ts
+++ b/types/haversine/index.d.ts
@@ -23,9 +23,6 @@ declare namespace haversine {
/**
* Determines the great-circle distance between two points on a sphere given their longitudes and latitudes
- * @param start
- * @param end
- * @param options
*/
declare function haversine(
start: haversine.Coordinate,
diff --git a/types/hls.js/index.d.ts b/types/hls.js/index.d.ts
index f496f2d165..3567db3f87 100644
--- a/types/hls.js/index.d.ts
+++ b/types/hls.js/index.d.ts
@@ -1540,7 +1540,7 @@ declare namespace Hls {
* Customized text track syncronization controller.
*/
interface TimelineController {
- /**d
+ /**
* clean-up all used resources
*/
destory(): void;
diff --git a/types/http-assert/index.d.ts b/types/http-assert/index.d.ts
index 47b283db92..4e9ca6657d 100644
--- a/types/http-assert/index.d.ts
+++ b/types/http-assert/index.d.ts
@@ -4,49 +4,26 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
- * @param {number} [status] the status code
- * @param {string} [msg] the message of the error, defaulting to node's text for that status code
- * @param {object} [opts] custom properties to attach to the error object
+ * @param status the status code
+ * @param msg the message of the error, defaulting to node's text for that status code
+ * @param opts custom properties to attach to the error object
*/
declare function assert(value: any, status?: number, msg?: string, opts?: {}): void;
declare namespace assert {
/**
- * @param {number} [status] the status code
- * @param {string} [msg] the message of the error, defaulting to node's text for that status code
- * @param {object} [opts] custom properties to attach to the error object
+ * @param status the status code
+ * @param msg the message of the error, defaulting to node's text for that status code
+ * @param opts custom properties to attach to the error object
*/
- function equal(a: T, b: T, status?: number, msg?: string, opts?: {}): void;
- /**
- * @param {number} [status] the status code
- * @param {string} [msg] the message of the error, defaulting to node's text for that status code
- * @param {object} [opts] custom properties to attach to the error object
- */
- function notEqual(a: T, b: T, status?: number, msg?: string, opts?: {}): void;
- /**
- * @param {number} [status] the status code
- * @param {string} [msg] the message of the error, defaulting to node's text for that status code
- * @param {object} [opts] custom properties to attach to the error object
- */
- function strictEqual(a: T, b: T, status?: number, msg?: string, opts?: {}): void;
- /**
- * @param {number} [status] the status code
- * @param {string} [msg] the message of the error, defaulting to node's text for that status code
- * @param {object} [opts] custom properties to attach to the error object
- */
- function notStrictEqual(a: T, b: T, status?: number, msg?: string, opts?: {}): void;
- /**
- * @param {number} [status] the status code
- * @param {string} [msg] the message of the error, defaulting to node's text for that status code
- * @param {object} [opts] custom properties to attach to the error object
- */
- function deepEqual(a: T, b: T, status?: number, msg?: string, opts?: {}): void;
- /**
- * @param {number} [status] the status code
- * @param {string} [msg] the message of the error, defaulting to node's text for that status code
- * @param {object} [opts] custom properties to attach to the error object
- */
- function notDeepEqual(a: T, b: T, status?: number, msg?: string, opts?: {}): void;
+ type Assert = (a: T, b: T, status?: number, msg?: string, opts?: {}) => void;
+
+ const equal: Assert;
+ const notEqual: Assert;
+ const strictEqual: Assert;
+ const notStrictEqual: Assert;
+ const deepEqual: Assert;
+ const notDeepEqual: Assert;
}
export = assert;
diff --git a/types/http-proxy/index.d.ts b/types/http-proxy/index.d.ts
index 4ed829d390..6c4b885ac2 100644
--- a/types/http-proxy/index.d.ts
+++ b/types/http-proxy/index.d.ts
@@ -32,7 +32,6 @@ declare class Server extends events.EventEmitter {
* @param req - Client request.
* @param res - Client response.
* @param options - Additionnal options.
- * @param
*/
web(
req: http.IncomingMessage,
diff --git a/types/is-ip/index.d.ts b/types/is-ip/index.d.ts
index c706d50397..70d8ebb88e 100644
--- a/types/is-ip/index.d.ts
+++ b/types/is-ip/index.d.ts
@@ -3,32 +3,14 @@
// Definitions by: coderslagoon
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-/**
- * Check if input is IPv4 or IPv6.
- *
- * @param {input} input
- *
- * @returns {boolean}
- */
+/** Check if input is IPv4 or IPv6. */
declare function isIp(input: string): boolean;
declare namespace isIp {
- /**
- * Check if input is IPv4.
- *
- * @param {input} input
- *
- * @returns {boolean}
- */
+ /** Check if input is IPv4. */
function v4(input: string): boolean;
- /**
- * Check if input is IPv6.
- *
- * @param {input} input
- *
- * @returns {boolean}
- */
+ /** Check if input is IPv6. */
function v6(input: string): boolean;
}
diff --git a/types/is-number/index.d.ts b/types/is-number/index.d.ts
index 27d7328456..fff535c46a 100644
--- a/types/is-number/index.d.ts
+++ b/types/is-number/index.d.ts
@@ -7,7 +7,7 @@ export = is_number;
/**
* Will test to see if the argument is a valid number, excluding Infinity and NaN.
- * @param {*} num - Any value that should be tested for being a number
- * @returns {boolean} - true if the parameter is a valid number, otherwise false
+ * @param num Any value that should be tested for being a number
+ * @returns true if the parameter is a valid number, otherwise false
*/
declare function is_number(num: any): boolean;
diff --git a/types/jasmine-fixture/index.d.ts b/types/jasmine-fixture/index.d.ts
index a49aeca029..82449ffc01 100644
--- a/types/jasmine-fixture/index.d.ts
+++ b/types/jasmine-fixture/index.d.ts
@@ -8,13 +8,14 @@
/**
* Affixes the given jquery selectors into the body and will be removed after each spec
- * @param {string} selector The JQuery selector to be added to the dom
+ * @param selector The JQuery selector to be added to the dom
*/
declare function affix(selector: string): JQuery;
interface JQuery {
- /** Affixes the given jquery selectors into the element and will be removed after each spec
- * @param {string} selector The JQuery selector to be added to the dom
+ /**
+ * Affixes the given jquery selectors into the element and will be removed after each spec
+ * @param selector The JQuery selector to be added to the dom
*/
affix(selector: string): JQuery;
}
diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts
index 80afeab207..18b3db361a 100644
--- a/types/jest/index.d.ts
+++ b/types/jest/index.d.ts
@@ -198,9 +198,9 @@ declare namespace jest {
/**
* Creates a test closure.
*
- * @param {string} name The name of your test
- * @param {fn?} ProvidesCallback The function for your test
- * @param {timeout?} timeout The timeout for an async function test
+ * @param name The name of your test
+ * @param fn The function for your test
+ * @param timeout The timeout for an async function test
*/
(name: string, fn?: ProvidesCallback, timeout?: number): void;
/**
@@ -290,7 +290,7 @@ declare namespace jest {
* The `expect` function is used every time you want to test a value.
* You will rarely call `expect` by itself.
*
- * @param {any} actual The value to apply matchers against.
+ * @param actual The value to apply matchers against.
*/
(actual: any): Matchers;
anything(): any;
diff --git a/types/jquery-match-height/index.d.ts b/types/jquery-match-height/index.d.ts
index 491a0dbe1d..2c2a69db67 100644
--- a/types/jquery-match-height/index.d.ts
+++ b/types/jquery-match-height/index.d.ts
@@ -14,8 +14,6 @@ interface JQueryMatchHeight {
/**
* Set all selected elements to the height of the tallest.
* If the items are on multiple rows, the items of each row will be set to the tallest of that row.
- *
- * @param options
*/
(options?: JQueryMatchHeight.Options): JQuery;
_update(): void;
diff --git a/types/jsforce/query.d.ts b/types/jsforce/query.d.ts
index d0353ec638..242d89b358 100644
--- a/types/jsforce/query.d.ts
+++ b/types/jsforce/query.d.ts
@@ -47,8 +47,8 @@ export class Query extends Readable implements Promise {
where(conditions: Object | string): Query;
// Implementing promise methods
- then(onfulfilled?: any | undefined | null): Promise;
- catch(onrejected?: any | undefined | null): Promise;
+ then(onfulfilled?: any): Promise;
+ catch(onrejected?: any): Promise;
[Symbol.toStringTag]: "Promise";
}
diff --git a/types/jsforce/tslint.json b/types/jsforce/tslint.json
index 5fdd35f19c..3b1f082eb2 100644
--- a/types/jsforce/tslint.json
+++ b/types/jsforce/tslint.json
@@ -4,6 +4,7 @@
// TODOs
"ban-types": false,
"no-any-union": false,
+ "no-unnecessary-class": false,
"no-unnecessary-generics": false
}
}
diff --git a/types/json-rpc-ws/index.d.ts b/types/json-rpc-ws/index.d.ts
index c3023c409e..9faaeefd66 100644
--- a/types/json-rpc-ws/index.d.ts
+++ b/types/json-rpc-ws/index.d.ts
@@ -80,8 +80,6 @@ export class Base {
getConnection(id: string): Connection;
/**
* Shut down all existing connections
- *
- * @public
*/
hangup(): void;
}
diff --git a/types/jsonfile/index.d.ts b/types/jsonfile/index.d.ts
index bed60556a1..62227c9e84 100644
--- a/types/jsonfile/index.d.ts
+++ b/types/jsonfile/index.d.ts
@@ -8,13 +8,13 @@
import { Url } from 'url';
export type FSReadOptions = {
- encoding?: null | undefined;
- flag?: string | undefined;
+ encoding?: null;
+ flag?: string;
} | null | undefined;
export type FSWriteOptions = string | {
- encoding?: string | null | undefined;
- mode?: string | number | undefined;
- flag?: string | undefined;
+ encoding?: string | null;
+ mode?: string | number;
+ flag?: string;
} | null | undefined;
export type ReadCallback = (err: NodeJS.ErrnoException | null, data: Buffer) => void;
@@ -29,23 +29,23 @@ export interface FS {
}
export type JFReadOptions = {
- encoding?: null | undefined;
- flag?: string | undefined;
+ encoding?: null;
+ flag?: string;
throws?: boolean;
fs?: FS;
- reviver?: ((key: any, value: any) => any) | undefined;
+ reviver?: (key: any, value: any) => any;
} | null | undefined;
export type JFWriteOptions = string | {
- encoding?: string | null | undefined;
- mode?: string | number | undefined;
- flag?: string | undefined;
+ encoding?: string | null;
+ mode?: string | number;
+ flag?: string;
throws?: boolean;
fs?: FS;
EOL?: string;
- spaces?: string | number | undefined;
- replacer?: ((key: string, value: any) => any) | undefined;
- } | null | undefined;
+ spaces?: string | number;
+ replacer?: (key: string, value: any) => any;
+ } | null;
export type JFReadCallback = (err: NodeJS.ErrnoException | null, data: any) => void;
diff --git a/types/jsrp/index.d.ts b/types/jsrp/index.d.ts
index 27f52c9e91..6cdb2abd7f 100644
--- a/types/jsrp/index.d.ts
+++ b/types/jsrp/index.d.ts
@@ -28,58 +28,58 @@ export class client {
/**
* Initialise the client SRP and calculate needed SRP values
- * @param {ClientOptions} options - the client options including the username and password
- * @param {function(): any} callback - called when the client instance is ready to use
+ * @param options - the client options including the username and password
+ * @param callback - called when the client instance is ready to use
*/
init(options: ClientOptions, callback: () => any): void;
/**
* Returns the hex representation of the client's A value
- * @returns {string} - hex representation of A
+ * @returns hex representation of A
*/
getPublicKey(): string;
/**
* Set the salt generated by the server for later computations
- * @param {string} hexSalt - hex value of the salt
+ * @param hexSalt - hex value of the salt
*/
setSalt(hexSalt: string): void;
/**
* Sets the server's B value on the client and compute values to complete authentication
- * @param {string} hexB - hex representation of B
+ * @param hexB - hex representation of B
* @throws Will throw an error if the server provides an incorrect value
*/
setServerPublicKey(hexB: string): void;
/**
* Returns the hex representation of the client's M1 proof
- * @returns {string} - hex representation of M1
+ * @returns hex representation of M1
*/
getProof(): string;
/**
* Verifies the server's M2 proof against the client's. Only call after using {@link getProof}.
- * @param {string} hexM2 - hex representation of M2
- * @returns {boolean} - true if it matches the client's proof, false if it doesn't
+ * @param hexM2 - hex representation of M2
+ * @returns true if it matches the client's proof, false if it doesn't
*/
checkServerProof(hexM2: string): boolean;
/**
* Returns the hex representation of the shared secret key, K
- * @returns {string} - hex representation of K
+ * @returns hex representation of K
*/
getSharedKey(): string;
/**
* Generate the v and salt values from values passed into init().
- * @param {function(*, Verifier): *} callback - callback has an error as the first argument, or an object containing the verifier and salt as the second.
+ * @param callback - callback has an error as the first argument, or an object containing the verifier and salt as the second.
*/
createVerifier(callback: (error: any, result: Verifier) => any): void;
/**
* Returns the hex representation of the salt
- * @returns {string} - hex representation of the salt
+ * @returns hex representation of the salt
*/
getSalt(): string;
}
@@ -90,46 +90,46 @@ export class server {
/**
* Initialise the server SRP and calculate needed SRP values
- * @param {ServerOptions} options - the server options including the verifier and salt
- * @param {function(): void} callback - called when the server instance is ready to use
+ * @param options - the server options including the verifier and salt
+ * @param callback - called when the server instance is ready to use
*/
init(options: ServerOptions, callback: () => any): void;
/**
* Returns the hex representation of the server's B value
- * @returns {string} - hex representation of B
+ * @returns hex representation of B
*/
getPublicKey(): string;
/**
* Returns the hex representation of the salt, as was passed into {@link init}
- * @returns {string} - hex representation of the salt
+ * @returns hex representation of the salt
*/
getSalt(): string;
/**
* Sets the client's A value on the server, and compute values to complete authentication
- * @param {string} hexA - hex representation of A
+ * @param hexA - hex representation of A
* @throws Will throw an error if the client provides an incorrect value
*/
setClientPublicKey(hexA: string): void;
/**
* Returns the hex representation of the shared secret key, K
- * @returns {string} - hex representation of K
+ * @returns hex representation of K
*/
getSharedKey(): string;
/**
* Verifies the clients's M1 proof against the server's.
- * @param {string} M1hex - hex representation of M1
- * @returns {boolean} - true if it matches the server's proof, false if it doesn't
+ * @param M1hex - hex representation of M1
+ * @returns true if it matches the server's proof, false if it doesn't
*/
checkClientProof(M1hex: string): boolean;
/**
* Returns the hex representation of the server's M2 proof
- * @returns {string} - hex representation of M2
+ * @returns hex representation of M2
*/
getProof(): string;
}
diff --git a/types/jszip/index.d.ts b/types/jszip/index.d.ts
index 0962f46ff8..a6253e60b8 100644
--- a/types/jszip/index.d.ts
+++ b/types/jszip/index.d.ts
@@ -64,8 +64,8 @@ declare namespace JSZip {
/**
* Prepare the content in the asked type.
- * @param {String} type the type of the result.
- * @param {OnUpdateCallback} onUpdate a function to call on each internal update.
+ * @param type the type of the result.
+ * @param onUpdate a function to call on each internal update.
* @return Promise the promise of the result.
*/
async(type: T, onUpdate?: OnUpdateCallback): Promise;
@@ -75,7 +75,8 @@ declare namespace JSZip {
interface JSZipFileOptions {
/** Set to `true` if the data is `base64` encoded. For example image data from a `
- * @returns
+ * @returns
* @protected
*/
createXamlPrefixMapper():yfiles.graphml.IXamlPrefixMapper;
@@ -5476,7 +5475,7 @@ declare namespace yfiles{
* @param document The XML document. Note: If you are using Internet Explorer 9 and {@link }s to retrieve the document, you may not use
* the value from the {@link #responseXML} property. Please parse {@link #responseText} instead and use the
* result. For further reference see {@link http://msdn.microsoft.com/en-us/library/ie/hh180177.aspx}.
- * @returns
+ * @returns
* @throws {Stubs.Exceptions.ArgumentError} document is null.
* @throws {Stubs.Exceptions.ArgumentError} graph is null.
*/
@@ -5485,7 +5484,7 @@ declare namespace yfiles{
* Convenience method that imports the graph from an XML data provided in a string data.
* @param graph The Graph object that is to be populated with nodes and edges as read from the GraphML data.
* @param data A string that contains GraphML data.
- * @returns
+ * @returns
*/
readFromGraphMLText(graph:yfiles.graph.IGraph,data:string):Promise;
/**
@@ -5496,7 +5495,7 @@ declare namespace yfiles{
*
* @param graph The Graph object that is to be populated with nodes and edges as read from the GraphML file.
* @param url The url of the file to be read.
- * @returns
+ * @returns
* @throws {Stubs.Exceptions.ArgumentError} url is null.
* @throws {Stubs.Exceptions.ArgumentError} graph is null.
*/
@@ -6143,7 +6142,7 @@ declare namespace yfiles{
isInstance(o:any):o is yfiles.graphml.IGenericInputHandlerFactory;
};
/**
- *
+ *
* @class
*/
export interface GraphMLSupport extends yfiles.lang.Object{}
@@ -6353,33 +6352,33 @@ declare namespace yfiles{
*/
constructor(parentContext:yfiles.graphml.IParseContext);
/**
- *
+ *
* Type parameter T.
* @param targetType
* @param context
* @param targetNode
- * @returns
+ * @returns
* @template T
*/
deserializeCore(targetType:yfiles.lang.Class,context:yfiles.graphml.IParseContext,targetNode:Node):T;
/**
- *
+ *
* Type parameter T.
* @param itemType
- * @returns
+ * @returns
* @template T
*/
getCurrent(itemType:yfiles.lang.Class):T;
/**
- *
+ *
* @param key
- * @returns
+ * @returns
*/
getDeserializationProperty(key:string):any;
/**
- *
+ *
* @param type
- * @returns
+ * @returns
*/
lookup(type:yfiles.lang.Class):any;
/**
@@ -6415,17 +6414,17 @@ declare namespace yfiles{
*/
parentContext:yfiles.graphml.IParseContext;
/**
- *
+ *
* @type {yfiles.collections.IListEnumerable.}
*/
objectStack:yfiles.collections.IListEnumerable;
/**
- *
+ *
* @type {yfiles.graphml.IParseEvents}
*/
parseEvents:yfiles.graphml.IParseEvents;
/**
- *
+ *
* @type {yfiles.graph.IGraph}
*/
graph:yfiles.graph.IGraph;
@@ -6596,7 +6595,7 @@ declare namespace yfiles{
/**
* Retrieve a deserialization property that has been set by {@link yfiles.graphml.GraphMLParser#setDeserializationProperty}.
* @param key The key for the property.
- * @returns
+ * @returns
* @see yfiles.graphml.IParseContext#getDeserializationProperty
*/
getDeserializationProperty(key:string):any;
@@ -6667,7 +6666,7 @@ declare namespace yfiles{
* and use the result. For further reference see {@link http://msdn.microsoft.com/en-us/library/ie/hh180177.aspx}.
* @param graph The graph instance that is populated.
* @param elementFactory The {@link } instance that is used to create the elements.
- * @returns
+ * @returns
* @see yfiles.graphml.GraphMLIOHandler#readFromDocument
*/
parseFromDocument(graph:yfiles.graph.IGraph,document:Document,elementFactory:yfiles.graphml.IGraphElementFactory):Promise;
@@ -6679,7 +6678,7 @@ declare namespace yfiles{
* @param url The URL to the input to parse.
* @param graph The graph instance that is populated.
* @param elementFactory The {@link } instance that is used to create the elements.
- * @returns
+ * @returns
* @see yfiles.graphml.GraphMLIOHandler#readFromGraphMLText
*/
parseFromURL(graph:yfiles.graph.IGraph,url:string,elementFactory:yfiles.graphml.IGraphElementFactory):Promise;
@@ -6968,61 +6967,61 @@ declare namespace yfiles{
* Factory method to create a default implementation of {@link yfiles.graphml.IGraphElementIdProvider} that delegates to fallback
* and uses the values stored by this {@link yfiles.graphml.GraphElementIdAcceptor} instance, if possible.
* @param fallback The fallback.
- * @returns
+ * @returns
*/
createIdProvider(fallback:yfiles.graphml.IGraphElementIdProvider):yfiles.graphml.IGraphElementIdProvider;
/**
- *
+ *
* @param context
* @param id
- * @returns
+ * @returns
*/
resolveEdge(context:yfiles.graphml.IParseContext,id:string):yfiles.graph.IEdge;
/**
- *
+ *
* @param context
* @param id
- * @returns
+ * @returns
*/
resolveGraph(context:yfiles.graphml.IParseContext,id:string):yfiles.graph.IGraph;
/**
- *
+ *
* @param context
* @param id
- * @returns
+ * @returns
*/
resolveNode(context:yfiles.graphml.IParseContext,id:string):yfiles.graph.INode;
/**
- *
+ *
* @param context
* @param ownerId
* @param id
- * @returns
+ * @returns
*/
resolvePort(context:yfiles.graphml.IParseContext,ownerId:string,id:string):yfiles.graph.IPort;
/**
- *
+ *
* @param context
* @param edge
* @param id
*/
storeEdgeId(context:yfiles.graphml.IParseContext,edge:yfiles.graph.IEdge,id:string):void;
/**
- *
+ *
* @param context
* @param graph
* @param id
*/
storeGraphId(context:yfiles.graphml.IParseContext,graph:yfiles.graph.IGraph,id:string):void;
/**
- *
+ *
* @param context
* @param node
* @param id
*/
storeNodeId(context:yfiles.graphml.IParseContext,node:yfiles.graph.INode,id:string):void;
/**
- *
+ *
* @param context
* @param port
* @param id
@@ -7435,23 +7434,23 @@ declare namespace yfiles{
*/
constructor(parentContext:yfiles.graphml.IWriteContext);
/**
- *
+ *
* Type parameter T.
* @param itemType
- * @returns
+ * @returns
* @template T
*/
getCurrent(itemType:yfiles.lang.Class):T;
/**
- *
+ *
* @param key
- * @returns
+ * @returns
*/
getSerializationProperty(key:string):any;
/**
- *
+ *
* @param type
- * @returns
+ * @returns
*/
lookup(type:yfiles.lang.Class):any;
/**
@@ -7467,7 +7466,7 @@ declare namespace yfiles{
*/
removeSerializationProperty(key:string):void;
/**
- *
+ *
* Type parameter T.
* @param targetType
* @param context
@@ -7491,12 +7490,12 @@ declare namespace yfiles{
*/
setSerializationProperty(key:string,value:any):void;
/**
- *
+ *
* @type {yfiles.collections.IListEnumerable.}
*/
objectStack:yfiles.collections.IListEnumerable;
/**
- *
+ *
* @type {yfiles.graphml.IWriteEvents}
*/
writeEvents:yfiles.graphml.IWriteEvents;
@@ -7514,7 +7513,7 @@ declare namespace yfiles{
*/
writer:yfiles.graphml.IXmlWriter;
/**
- *
+ *
* @type {yfiles.graph.IGraph}
*/
graph:yfiles.graph.IGraph;
@@ -7557,7 +7556,7 @@ declare namespace yfiles{
/**
* Retrieve a serialization property that has been set by {@link yfiles.graphml.GraphMLWriter#setSerializationProperty}.
* @param key The key for the property.
- * @returns
+ * @returns
* @see yfiles.graphml.IWriteContext#getSerializationProperty
*/
getSerializationProperty(key:string):any;
@@ -8084,12 +8083,12 @@ declare namespace yfiles{
*/
precedence:yfiles.graphml.WritePrecedence;
/**
- *
+ *
* @type {yfiles.collections.IEnumerable.}
*/
keyDefinitionAttributes:yfiles.collections.IEnumerable;
/**
- *
+ *
* @type {yfiles.collections.IEnumerable.}
*/
dataTagAttributes:yfiles.collections.IEnumerable;
@@ -8160,7 +8159,7 @@ declare namespace yfiles{
*/
constructor();
/**
- *
+ *
* @param addEndTag
* @protected
*/
@@ -8172,81 +8171,81 @@ declare namespace yfiles{
*/
createNamespaceManager():yfiles.graphml.IXmlNamespaceManager;
/**
- *
+ *
*/
flushDocument():void;
/**
- *
- * @returns
+ *
+ * @returns
*/
getXmlString():string;
/**
- *
+ *
* @param prefix
* @param localName
* @param ns
* @param value
- * @returns
+ * @returns
*/
writeAttributeNS(prefix:string,localName:string,ns:string,value:string):yfiles.graphml.IXmlWriter;
/**
- *
+ *
* @param content
- * @returns
+ * @returns
*/
writeCData(content:string):yfiles.graphml.IXmlWriter;
/**
- *
+ *
* @param comment
- * @returns
+ * @returns
*/
writeComment(comment:string):yfiles.graphml.IXmlWriter;
/**
- *
+ *
* @param fragment
- * @returns
+ * @returns
*/
writeDocumentFragment(fragment:Document):yfiles.graphml.IXmlWriter;
/**
- *
+ *
*/
writeEndDocument():void;
/**
- *
- * @returns
+ *
+ * @returns
*/
writeEndElement():yfiles.graphml.IXmlWriter;
/**
- *
+ *
* @param target
* @param data
- * @returns
+ * @returns
*/
writeProcessingInstruction(target:string,data:string):yfiles.graphml.IXmlWriter;
/**
- *
- * @returns
+ *
+ * @returns
*/
writeStartDocument():yfiles.graphml.IXmlWriter;
/**
- *
+ *
* @param prefix
* @param localName
* @param ns
- * @returns
+ * @returns
*/
writeStartElement(prefix:string,localName:string,ns:string):yfiles.graphml.IXmlWriter;
/**
- *
+ *
* @param localName
* @param ns
- * @returns
+ * @returns
*/
writeStartElement(localName:string,ns:string):yfiles.graphml.IXmlWriter;
/**
- *
+ *
* @param s
- * @returns
+ * @returns
*/
writeString(s:string):yfiles.graphml.IXmlWriter;
/**
@@ -8507,15 +8506,15 @@ declare namespace yfiles{
*/
constructor(context:yfiles.graphml.IParseContext);
/**
- *
+ *
* @param property
- * @returns
+ * @returns
*/
getValueSerializerFor(property:yfiles.graphml.Property):yfiles.graphml.ValueSerializer;
/**
- *
+ *
* @param type
- * @returns
+ * @returns
*/
getValueSerializerFor(type:yfiles.lang.Class):yfiles.graphml.ValueSerializer;
/**
@@ -8545,15 +8544,15 @@ declare namespace yfiles{
*/
constructor(context:yfiles.graphml.IWriteContext);
/**
- *
+ *
* @param property
- * @returns
+ * @returns
*/
getValueSerializerFor(property:yfiles.graphml.Property):yfiles.graphml.ValueSerializer;
/**
- *
+ *
* @param type
- * @returns
+ * @returns
*/
getValueSerializerFor(type:yfiles.lang.Class):yfiles.graphml.ValueSerializer;
/**
@@ -8807,14 +8806,14 @@ declare namespace yfiles{
/**
* Animates the given animation instance and triggers the callback upon completion.
* @param animation The animation to perform.
- * @returns
+ * @returns
*/
animate(animation:yfiles.view.IAnimation):Promise;
/**
* Starts animating the given animation for the specified duration.
* @param callback The callback to use for the animation.
* @param duration The duration in milliseconds that the animation should last.
- * @returns
+ * @returns
*/
animate(callback:(time:number)=>void,duration:yfiles.lang.TimeSpan):Promise;
/**
@@ -8907,7 +8906,7 @@ declare namespace yfiles{
*
* @param [easeIn=0.5] The ratio for the ease-in time [0,1] where 0 is the start of the animation and 1 the end. 0.5 is the default value.
* @param [easeOut=0.5] The ratio for the ease-out time [0,1] where 0 is the start of the animation and 1 the end. 0.5 is the default value.
- * @returns
+ * @returns
*/
createEasedAnimation?(easeIn?:number,easeOut?:number):yfiles.view.IAnimation;
/**
@@ -8924,7 +8923,7 @@ declare namespace yfiles{
* @param {Object} options The parameters to pass.
* @param [options.easeIn=0.5] The ratio for the ease-in time [0,1] where 0 is the start of the animation and 1 the end. 0.5 is the default value.
* @param [options.easeOut=0.5] The ratio for the ease-out time [0,1] where 0 is the start of the animation and 1 the end. 0.5 is the default value.
- * @returns
+ * @returns
*/
createEasedAnimation?(options:{easeIn?:number,easeOut?:number}):yfiles.view.IAnimation;
/**
@@ -8964,7 +8963,7 @@ declare namespace yfiles{
* @param endSourceLocation The absolute position of the source port after the animation.
* @param endTargetLocation The absolute position of the target port after the animation.
* @param preferredDuration The preferred duration of the animation in milliseconds.
- * @returns
+ * @returns
* @static
*/
createEdgeSegmentAnimation?(graph:yfiles.graph.IGraph,edge:yfiles.graph.IEdge,endBends:yfiles.geometry.IPoint[],endSourceLocation:yfiles.geometry.Point,endTargetLocation:yfiles.geometry.Point,preferredDuration:yfiles.lang.TimeSpan):yfiles.view.IAnimation;
@@ -8977,7 +8976,7 @@ declare namespace yfiles{
* @param targetLayoutParameters The label model parameters for each label after the animation.
* @param targetPortLocations The {@link }s for each {@link } in the graph that will be morphed.
* @param preferredDuration The preferred duration of the animation in milliseconds.
- * @returns
+ * @returns
* @static
*/
createGraphAnimation?(graph:yfiles.graph.IGraph,targetNodeLayouts:yfiles.collections.IMapper,targetBendLocations:yfiles.collections.IMapper,targetPortLocations:yfiles.collections.IMapper,targetLayoutParameters:yfiles.collections.IMapper,preferredDuration:yfiles.lang.TimeSpan):yfiles.view.IAnimation;
@@ -9009,7 +9008,7 @@ declare namespace yfiles{
* @param graph the graph for which the layout should be animated
* @param layoutGraph the {@link } that contains all target layout information
* @param preferredDuration the preferred duration of the animation
- * @returns
+ * @returns
* @static
*/
createLayoutAnimation?(graph:yfiles.graph.IGraph,layoutGraph:yfiles.layout.CopiedLayoutGraph,preferredDuration:yfiles.lang.TimeSpan):yfiles.view.IAnimation;
@@ -9041,7 +9040,7 @@ declare namespace yfiles{
* @param path The path to animate the point along.
* @param animationPoint The mutable point instance that will be manipulated by the animation.
* @param preferredDuration The preferred duration of the animation.
- * @returns
+ * @returns
* @static
*/
createPathAnimation?(path:yfiles.geometry.GeneralPath,animationPoint:yfiles.geometry.IMutablePoint,preferredDuration:yfiles.lang.TimeSpan):yfiles.view.IAnimation;
@@ -9073,7 +9072,7 @@ declare namespace yfiles{
* @param table The table to animate.
* @param columnLayout The sizes of the leaf columns, in natural order.
* @param rowLayout The sizes of the leaf rows, in natural order.
- * @returns
+ * @returns
* @static
*/
createTableAnimation?(table:yfiles.graph.ITable,columnLayout:number[],rowLayout:number[]):yfiles.view.IAnimation;
@@ -9111,7 +9110,7 @@ declare namespace yfiles{
*/
constructor(options:{canvas:yfiles.view.CanvasComponent,targetBounds:yfiles.geometry.Rect,preferredDuration?:yfiles.lang.TimeSpan,considerViewportLimiter?:boolean,maximumTargetZoom?:number});
/**
- *
+ *
* @param time
*/
animate(time:number):void;
@@ -9560,7 +9559,7 @@ declare namespace yfiles{
* This will return the canvas object that is painted last at the given position.
*
* @param location the coordinates of the query in the world coordinate system
- * @returns
+ * @returns
*/
getCanvasObject(location:yfiles.geometry.Point):yfiles.view.ICanvasObject;
/**
@@ -9587,7 +9586,7 @@ declare namespace yfiles{
/**
* Gets the {@link yfiles.view.CanvasComponent} instance that is associated with the given DOM element, or null.
* @param element
- * @returns
+ * @returns
* @static
*/
static getComponent(element:Element):yfiles.view.CanvasComponent;
@@ -9719,9 +9718,9 @@ declare namespace yfiles{
*/
localToGlobal(localPoint:yfiles.geometry.Point):yfiles.geometry.Point;
/**
- *
+ *
* @param type
- * @returns
+ * @returns
*/
lookup(type:yfiles.lang.Class):any;
/**
@@ -11304,7 +11303,7 @@ declare namespace yfiles{
* controlled for each image individually by overwriting the predicate method {@link yfiles.view.SvgExport#shouldInlineSvgImage}.
*
* @param canvas The canvas to be exported.
- * @returns
+ * @returns
*/
exportSvgAsync(canvas:yfiles.view.CanvasComponent):Promise;
/**
@@ -11704,7 +11703,7 @@ declare namespace yfiles{
* @param layout
* @param [morphDuration=null]
* @param [layoutData=null]
- * @returns
+ * @returns
*/
morphLayout(layout:yfiles.layout.ILayoutAlgorithm,morphDuration?:yfiles.lang.TimeSpan,layoutData?:yfiles.layout.LayoutData):Promise;
/**
@@ -11721,7 +11720,7 @@ declare namespace yfiles{
* @param options.layout
* @param [options.morphDuration=null]
* @param [options.layoutData=null]
- * @returns
+ * @returns
*/
morphLayout(options:{layout:yfiles.layout.ILayoutAlgorithm,morphDuration?:yfiles.lang.TimeSpan,layoutData?:yfiles.layout.LayoutData}):Promise;
/**
@@ -12056,7 +12055,7 @@ declare namespace yfiles{
* @param canvas the canvas
* @param [zoom=0] the zoom level
* @param [hitTestRadius=-1] the hit test radius
- * @returns
+ * @returns
* @static
*/
createCanvasContext?(canvas:yfiles.view.CanvasComponent,zoom?:number,hitTestRadius?:number):yfiles.view.ICanvasContext;
@@ -12069,7 +12068,7 @@ declare namespace yfiles{
* @param options.canvas the canvas
* @param [options.zoom=0] the zoom level
* @param [options.hitTestRadius=-1] the hit test radius
- * @returns
+ * @returns
* @static
*/
createCanvasContext?(options:{canvas:yfiles.view.CanvasComponent,zoom?:number,hitTestRadius?:number}):yfiles.view.ICanvasContext;
@@ -13052,7 +13051,7 @@ declare namespace yfiles{
export interface ItemModelManager extends yfiles.lang.Object{}
export class ItemModelManager {
/**
- *
+ *
* @param itemType The type of managed items.
*/
constructor(itemType:yfiles.lang.Class);
@@ -13213,12 +13212,12 @@ declare namespace yfiles{
*/
constructor();
/**
- *
+ *
*/
clear():void;
/**
- *
- * @returns
+ *
+ * @returns
*/
getEnumerator():yfiles.collections.IEnumerator;
/**
@@ -13271,17 +13270,17 @@ declare namespace yfiles{
*/
selection:yfiles.collections.IObservableCollection;
/**
- *
+ *
* @type {number}
*/
size:number;
/**
- *
+ *
* @param listener
*/
addItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
removeItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void;
@@ -13671,7 +13670,7 @@ declare namespace yfiles{
/**
* Adds an item to the current selection.
* @param item The item whose selection decorator will added.
- * @returns
+ * @returns
*/
addSelection(item:T):yfiles.view.ICanvasObject;
/**
@@ -13769,16 +13768,16 @@ declare namespace yfiles{
*/
constructor();
/**
- *
+ *
* @param context
- * @returns
+ * @returns
*/
createVisual(context:yfiles.view.IRenderContext):yfiles.view.Visual;
/**
- *
+ *
* @param context
* @param oldVisual
- * @returns
+ * @returns
*/
updateVisual(context:yfiles.view.IRenderContext,oldVisual:yfiles.view.Visual):yfiles.view.Visual;
/**
@@ -13863,7 +13862,7 @@ declare namespace yfiles{
/**
* Creates an instance that returns the given model as the bounds.
* @param bounds the rectangle
- * @returns
+ * @returns
* @static
*/
fromRectangle?(bounds:yfiles.geometry.IRectangle):yfiles.view.IBoundsProvider;
@@ -14109,14 +14108,14 @@ declare namespace yfiles{
/**
* Returns null.
* @param context
- * @returns
+ * @returns
*/
createVisual(context:yfiles.view.IRenderContext):yfiles.view.Visual;
/**
* Returns null.
* @param context
* @param oldVisual
- * @returns
+ * @returns
*/
updateVisual(context:yfiles.view.IRenderContext,oldVisual:yfiles.view.Visual):yfiles.view.Visual;
/**
@@ -14167,11 +14166,11 @@ declare namespace yfiles{
*/
constructor();
/**
- *
+ *
* @param context
* @param group
* @param item
- * @returns
+ * @returns
*/
addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:any):yfiles.view.ICanvasObject;
/**
@@ -14236,11 +14235,11 @@ declare namespace yfiles{
*/
constructor(point:yfiles.geometry.IPoint);
/**
- *
+ *
* @param context
* @param group
* @param item
- * @returns
+ * @returns
*/
addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:any):yfiles.view.ICanvasObject;
/**
@@ -14249,7 +14248,7 @@ declare namespace yfiles{
* This implementation simply returns the value provided to the constructor.
*
* @param userObject
- * @returns
+ * @returns
* @protected
*/
getCenterPoint(userObject:any):yfiles.geometry.IPoint;
@@ -14304,11 +14303,11 @@ declare namespace yfiles{
*/
constructor();
/**
- *
+ *
* @param context
* @param group
* @param item
- * @returns
+ * @returns
*/
addCanvasObject(context:yfiles.view.ICanvasContext,group:yfiles.view.ICanvasObjectGroup,item:any):yfiles.view.ICanvasObject;
/**
@@ -14448,34 +14447,34 @@ declare namespace yfiles{
*/
constructor();
/**
- *
+ *
* @param forUserObject
- * @returns
+ * @returns
*/
getBoundsProvider(forUserObject:any):yfiles.view.IBoundsProvider;
/**
- *
+ *
* @param forUserObject
- * @returns
+ * @returns
*/
getHitTestable(forUserObject:any):yfiles.input.IHitTestable;
/**
- *
+ *
* @param forUserObject
- * @returns
+ * @returns
*/
getVisibilityTestable(forUserObject:any):yfiles.view.IVisibilityTestable;
/**
- *
+ *
* @param forUserObject
- * @returns
+ * @returns
*/
getVisualCreator(forUserObject:any):yfiles.view.IVisualCreator;
/**
- *
+ *
* @param context
* @param canvasObject
- * @returns
+ * @returns
*/
isDirty(context:yfiles.view.ICanvasContext,canvasObject:yfiles.view.ICanvasObject):boolean;
/**
@@ -14632,7 +14631,7 @@ declare namespace yfiles{
*
* Type parameter T.
* @param itemType
- * @returns
+ * @returns
* @template T
*/
createHitTester(itemType:yfiles.lang.Class):yfiles.input.IHitTester;
@@ -15025,36 +15024,36 @@ declare namespace yfiles{
*/
constructor();
/**
- *
+ *
*/
clear():void;
/**
* Factory method that creates the {@link yfiles.view.DefaultSelectionModel.} to use for the bends.
- * @returns
+ * @returns
* @protected
*/
createBendSelectionModel():yfiles.view.DefaultSelectionModel;
/**
* Factory method that creates the {@link yfiles.view.DefaultSelectionModel.} to use for the edges.
- * @returns
+ * @returns
* @protected
*/
createEdgeSelectionModel():yfiles.view.DefaultSelectionModel;
/**
* Factory method that creates the {@link yfiles.view.DefaultSelectionModel.} to use for the labels.
- * @returns
+ * @returns
* @protected
*/
createLabelSelectionModel():yfiles.view.DefaultSelectionModel;
/**
* Factory method that creates the {@link yfiles.view.DefaultSelectionModel.} to use for the nodes.
- * @returns
+ * @returns
* @protected
*/
createNodeSelectionModel():yfiles.view.DefaultSelectionModel;
/**
* Factory method that creates the {@link yfiles.view.DefaultSelectionModel.} to use for the ports.
- * @returns
+ * @returns
* @protected
*/
createPortSelectionModel():yfiles.view.DefaultSelectionModel;
@@ -15064,9 +15063,9 @@ declare namespace yfiles{
*/
getEnumerator():yfiles.collections.IEnumerator;
/**
- *
+ *
* @param item
- * @returns
+ * @returns
*/
isSelected(item:yfiles.graph.IModelItem):boolean;
/**
@@ -15076,38 +15075,38 @@ declare namespace yfiles{
*/
onItemSelectionChanged(evt:yfiles.view.ItemSelectionChangedEventArgs):void;
/**
- *
+ *
* @param item
* @param selected
*/
setSelected(item:yfiles.graph.IModelItem,selected:boolean):void;
/**
- *
+ *
* @type {yfiles.view.ISelectionModel.}
*/
selectedNodes:yfiles.view.ISelectionModel;
/**
- *
+ *
* @type {yfiles.view.ISelectionModel.}
*/
selectedEdges:yfiles.view.ISelectionModel;
/**
- *
+ *
* @type {yfiles.view.ISelectionModel.}
*/
selectedLabels:yfiles.view.ISelectionModel;
/**
- *
+ *
* @type {yfiles.view.ISelectionModel.}
*/
selectedPorts:yfiles.view.ISelectionModel;
/**
- *
+ *
* @type {yfiles.view.ISelectionModel.}
*/
selectedBends:yfiles.view.ISelectionModel;
/**
- *
+ *
* @type {number}
*/
size:number;
@@ -15117,12 +15116,12 @@ declare namespace yfiles{
*/
graph:yfiles.graph.IGraph;
/**
- *
+ *
* @param listener
*/
addItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
removeItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void;
@@ -15336,6 +15335,9 @@ declare namespace yfiles{
/**
* Allows the use of an {@link yfiles.styles.IEdgeStyle} to render the selection, highlight or focus indicator of edges.
*
+ * The renderer of the {@link yfiles.view.EdgeStyleDecorationInstaller#edgeStyle} used by this class must create {@link yfiles.view.SvgVisual}s.
+ *
+ *
* The {@link yfiles.view.EdgeStyleDecorationInstaller#zoomPolicy} property defines how the zoom level affects the rendering of the indicator. It can either scale according to the
* zoom level similar to regular graph items or have always to same thickness regardless of the zoom, similar to the
* default yFiles indicators.
@@ -15439,6 +15441,9 @@ declare namespace yfiles{
/**
* Allows the use of an {@link yfiles.styles.ILabelStyle} to render the selection, highlight or focus indicator of labels.
*
+ * The renderer of the {@link yfiles.view.LabelStyleDecorationInstaller#labelStyle} used by this class must create {@link yfiles.view.SvgVisual}s.
+ *
+ *
* The {@link yfiles.view.LabelStyleDecorationInstaller#zoomPolicy} property defines how the zoom level affects the rendering of the indicator. It can either scale according to the
* zoom level similar to regular graph items or have always to same thickness regardless of the zoom, similar to the
* default yFiles indicators.
@@ -15521,6 +15526,9 @@ declare namespace yfiles{
/**
* Allows the use of an {@link yfiles.styles.INodeStyle} to render the selection, highlight or focus indicator of nodes.
*
+ * The renderer of the {@link yfiles.view.NodeStyleDecorationInstaller#nodeStyle} used by this class must create {@link yfiles.view.SvgVisual}s.
+ *
+ *
* The {@link yfiles.view.NodeStyleDecorationInstaller#zoomPolicy} property defines how the zoom level affects the rendering of the indicator. It can either scale according to the
* zoom level similar to regular graph items or have always to same thickness regardless of the zoom, similar to the
* default yFiles indicators.
@@ -15649,7 +15657,7 @@ declare namespace yfiles{
freeze():void;
/**
* Determines if this instance is frozen.
- * @returns
+ * @returns
*/
isFrozen():boolean;
/**
@@ -17702,23 +17710,23 @@ declare namespace yfiles{
static isInstance(o:any):o is yfiles.view.Color;
}
/**
- *
+ *
* @class
* @extends {yfiles.graphml.MarkupExtension}
*/
export interface ColorExtension extends yfiles.graphml.MarkupExtension{}
export class ColorExtension {
/**
- *
+ *
* @param color
*/
constructor(color:yfiles.view.Color);
/**
- *
+ *
*/
constructor();
/**
- *
+ *
* @type {string}
*/
value:string;
@@ -18056,7 +18064,7 @@ declare namespace yfiles{
freeze():void;
/**
* Determines if this instance is frozen.
- * @returns
+ * @returns
*/
isFrozen():boolean;
/**
@@ -18366,7 +18374,7 @@ declare namespace yfiles{
freeze():void;
/**
* Determines if this instance is frozen.
- * @returns
+ * @returns
*/
isFrozen():boolean;
/**
@@ -18683,11 +18691,11 @@ declare namespace yfiles{
*/
constructor(options?:{startPoint?:yfiles.geometry.Point,endPoint?:yfiles.geometry.Point,spreadMethod?:yfiles.view.GradientSpreadMethod,gradientStops?:Array});
/**
- *
+ *
* @param context
* @param item
* @param id
- * @returns
+ * @returns
*/
accept(context:yfiles.view.ICanvasContext,item:Node,id:string):boolean;
/**
@@ -18771,21 +18779,21 @@ declare namespace yfiles{
*/
constructor();
/**
- *
+ *
* @param context
* @param node
* @param id
- * @returns
+ * @returns
*/
accept(context:yfiles.view.ICanvasContext,node:Node,id:string):boolean;
/**
- *
+ *
* @param context
- * @returns
+ * @returns
*/
createDefsElement(context:yfiles.view.ICanvasContext):SVGElement;
/**
- *
+ *
* @param context
* @param oldElement
*/
@@ -18904,7 +18912,7 @@ declare namespace yfiles{
clone():any;
/**
* Clones the current value of this instance to a new unfrozen {@link yfiles.view.Stroke}.
- * @returns
+ * @returns
*/
cloneCurrentValue():yfiles.view.Stroke;
/**
@@ -18916,7 +18924,7 @@ declare namespace yfiles{
freeze():void;
/**
* Determines if this instance is frozen.
- * @returns
+ * @returns
*/
isFrozen():boolean;
/**
@@ -19594,11 +19602,11 @@ declare namespace yfiles{
*/
constructor(options?:{center?:yfiles.geometry.Point,radiusX?:number,radiusY?:number,spreadMethod?:yfiles.view.GradientSpreadMethod,gradientOrigin?:yfiles.geometry.Point,gradientStops?:Array});
/**
- *
+ *
* @param context
* @param item
* @param id
- * @returns
+ * @returns
*/
accept(context:yfiles.view.ICanvasContext,item:Node,id:string):boolean;
/**
@@ -20724,12 +20732,12 @@ declare namespace yfiles{
*/
constructor(table:yfiles.graph.ITable,columnLayout:number[],rowLayout:number[]);
/**
- *
+ *
* @param time
*/
animate(time:number):void;
/**
- *
+ *
*/
cleanup():void;
/**
@@ -20741,7 +20749,7 @@ declare namespace yfiles{
*/
createStripeAnimation(stripe:yfiles.graph.IStripe,targetSize:number):yfiles.view.IAnimation;
/**
- *
+ *
*/
initialize():void;
/**
@@ -20813,12 +20821,12 @@ declare namespace yfiles{
*/
constructor();
/**
- *
+ *
*/
clear():void;
/**
- *
- * @returns
+ *
+ * @returns
*/
getEnumerator():yfiles.collections.IEnumerator;
/**
@@ -20834,7 +20842,7 @@ declare namespace yfiles{
*/
onItemSelectionChanged(evt:yfiles.view.ItemSelectionChangedEventArgs):void;
/**
- *
+ *
* @param item
* @param selected
*/
@@ -20856,27 +20864,27 @@ declare namespace yfiles{
*/
allowCrossTableSelection:boolean;
/**
- *
+ *
* @type {yfiles.view.ISelectionModel.}
*/
selectedRows:yfiles.view.ISelectionModel;
/**
- *
+ *
* @type {yfiles.view.ISelectionModel.}
*/
selectedColumns:yfiles.view.ISelectionModel;
/**
- *
+ *
* @type {number}
*/
size:number;
/**
- *
+ *
* @param listener
*/
addItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
removeItemSelectionChangedListener(listener:(sender:any,evt:yfiles.view.ItemSelectionChangedEventArgs)=>void):void;
@@ -21399,7 +21407,7 @@ declare namespace yfiles{
*/
inputModeContext:yfiles.input.IInputModeContext;
/**
- *
+ *
* @type {number}
*/
priority:number;
@@ -21554,19 +21562,19 @@ declare namespace yfiles{
cancel():void;
/**
* Creates the event recognizer that is used to recognize the clicks for this instance.
- * @returns
+ * @returns
* @protected
*/
createClickRecognizer():(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean;
/**
* Creates the event recognizer that is used to recognize the press event for this instance.
- * @returns
+ * @returns
* @protected
*/
createPressRecognizer():(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean;
/**
* Creates the event recognizer that is used to recognize the release event for this instance.
- * @returns
+ * @returns
* @protected
*/
createReleaseRecognizer():(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean;
@@ -21593,7 +21601,7 @@ declare namespace yfiles{
* Determines whether the given event is a press event that occurred at an invalid location.
* @param eventSource
* @param evt
- * @returns
+ * @returns
* @see yfiles.input.ClickInputMode#validClickHitTestable
* @protected
*/
@@ -21602,7 +21610,7 @@ declare namespace yfiles{
* Determines whether the given event is a valid click event.
* @param src
* @param evt
- * @returns
+ * @returns
* @see yfiles.input.ClickInputMode#validClickHitTestable
* @protected
*/
@@ -21611,7 +21619,7 @@ declare namespace yfiles{
* Determines whether the given event is a valid press event.
* @param eventSource
* @param evt
- * @returns
+ * @returns
* @protected
*/
isValidPress(eventSource:any,evt:yfiles.lang.EventArgs):boolean;
@@ -21619,7 +21627,7 @@ declare namespace yfiles{
* Determines whether the given event is a valid release event.
* @param src
* @param evt
- * @returns
+ * @returns
* @see yfiles.input.ClickInputMode#validClickHitTestable
* @protected
*/
@@ -21744,13 +21752,13 @@ declare namespace yfiles{
*
* To ensure that the flag really acts just once, this method resets the flag and returns its value prior to the reset.
*
* This is used to show the grouping hierarchy level a node would end in after finishing the reparenting gesture. Override
* this method with an empty implementation to not change the z-order of the dragged node during the gesture.
*
- * @param inputModeContext The current {@link }.
+ * @param context The current {@link }.
* @param node The node being reparented.
* @param parent The temporary parent for the node.
*/
- setCurrentParent(inputModeContext:yfiles.input.IInputModeContext,node:yfiles.graph.INode,parent:yfiles.graph.INode):void;
+ setCurrentParent(context:yfiles.input.IInputModeContext,node:yfiles.graph.INode,parent:yfiles.graph.INode):void;
/**
* Gets a view of the location of the item.
*
@@ -34382,14 +34390,14 @@ declare namespace yfiles{
/**
* Creates a generic composite implementation for the {@link yfiles.input.IPortCandidateProvider} interface.
* @param providers The providers to create the composite from.
- * @returns
+ * @returns
* @static
*/
combine?(...providers:yfiles.input.IPortCandidateProvider[]):yfiles.input.IPortCandidateProvider;
/**
* Creates a generic composite implementation for the {@link yfiles.input.IPortCandidateProvider} interface.
* @param providers The providers to create the composite from.
- * @returns
+ * @returns
* @static
*/
combine?(providers:yfiles.collections.IEnumerable):yfiles.input.IPortCandidateProvider;
@@ -34411,7 +34419,7 @@ declare namespace yfiles{
* Creates an implementation of the {@link yfiles.input.IPortCandidateProvider} interface that returns the ports that exist in the
* given {@link yfiles.graph.IPortOwner#ports}'s {@link yfiles.graph.IPortOwner} collection.
* @param owner The owner of the port collection.
- * @returns
+ * @returns
* @static
*/
fromExistingPorts?(owner:yfiles.graph.IPortOwner):yfiles.input.IPortCandidateProvider;
@@ -34419,7 +34427,7 @@ declare namespace yfiles{
* Creates a trivial implementation of an {@link yfiles.input.IPortCandidateProvider} that always returns exactly one candidate
* that is centered at the node's {@link yfiles.graph.INode#layout}.
* @param node The node to get the layout's center from.
- * @returns
+ * @returns
* @static
*/
fromNodeCenter?(node:yfiles.graph.INode):yfiles.input.PortCandidateProviderBase;
@@ -34427,7 +34435,7 @@ declare namespace yfiles{
* Creates a simple implementation of an {@link yfiles.input.IPortCandidateProvider} that always returns a candidate that uses the
* default {@link yfiles.graph.IPortDefaults#locationParameter} for the corresponding {@link yfiles.graph.IPortDefaults}.
* @param owner
- * @returns
+ * @returns
* @static
*/
fromPortDefaults?(owner:yfiles.graph.IPortOwner):yfiles.input.IPortCandidateProvider;
@@ -34439,7 +34447,7 @@ declare namespace yfiles{
* @param ratios A number of double values that are interpreted as ratio values between 0.0 and 1.0. If none are given, the provider
* inserts a port candidate at the center of each straight line segment.
* @param addExistingPortsEnabled determines whether {@link #addExistingPorts existing ports should be added to the list of ports}.
- * @returns
+ * @returns
* @static
*/
fromShapeGeometry?(owner:yfiles.graph.IPortOwner,addExistingPortsEnabled:boolean,minimumSegmentLength:number,...ratios:number[]):yfiles.input.PortCandidateProviderBase;
@@ -34449,7 +34457,7 @@ declare namespace yfiles{
* @param owner The owner to receive the shape geometry from
* @param ratios A number of double values that are interpreted as ratio values between 0.0 and 1.0. If none are given, the provider
* inserts a port candidate at the center of each straight line segment.
- * @returns
+ * @returns
* @static
*/
fromShapeGeometry?(owner:yfiles.graph.IPortOwner,...ratios:number[]):yfiles.input.PortCandidateProviderBase;
@@ -34457,7 +34465,7 @@ declare namespace yfiles{
* Creates a simple implementation of an {@link yfiles.input.IPortCandidateProvider} that returns unoccupied ports at a given
* entity.
* @param owner The owner to query the ports from.
- * @returns
+ * @returns
* @static
*/
fromUnoccupiedPorts?(owner:yfiles.graph.IPortOwner):yfiles.input.IPortCandidateProvider;
@@ -34528,7 +34536,7 @@ declare namespace yfiles{
* This instance uses the lookup mechanism of the nodes to query the providers.
*
* @param edge
- * @returns
+ * @returns
* @static
*/
fromSourceAndTarget?(edge:yfiles.graph.IEdge):yfiles.input.IEdgeReconnectionPortCandidateProvider;
@@ -35624,7 +35632,7 @@ declare namespace yfiles{
* @param type The type of the event.
* @param value The key that is subject of the event.
* @param [modifiers=yfiles.view.ModifierKeys.NONE] The state of the modifiers that must be set. This is {@link #NONE} if not set.
- * @returns
+ * @returns
* @static
*/
static create(type:yfiles.view.KeyEventType,value:yfiles.view.Key,modifiers?:yfiles.view.ModifierKeys):(eventSource:any,evt:yfiles.lang.EventArgs)=>boolean;
@@ -36198,7 +36206,7 @@ declare namespace yfiles{
* Determines whether the current location is valid to begin a bend creation gesture.
* @param source
* @param evt
- * @returns
+ * @returns
* @protected
*/
isValidBegin(source:any,evt:yfiles.lang.EventArgs):boolean;
@@ -36277,8 +36285,8 @@ declare namespace yfiles{
*/
onStopped():void;
/**
- *
- * @returns
+ *
+ * @returns
*/
tryStop():boolean;
/**
@@ -36295,7 +36303,7 @@ declare namespace yfiles{
*/
uninstall(context:yfiles.input.IInputModeContext):void;
/**
- *
+ *
* @type {number}
*/
priority:number;
@@ -36321,7 +36329,7 @@ declare namespace yfiles{
*/
enabled:boolean;
/**
- *
+ *
* @type {yfiles.input.IInputModeContext}
*/
inputModeContext:yfiles.input.IInputModeContext;
@@ -36702,7 +36710,7 @@ declare namespace yfiles{
* Retrieves the port owner at a given position in world coordinates.
*
* If there is a {@link yfiles.input.IHitTester.} for type {@link yfiles.graph.INode} in the lookup of this mode's {@link yfiles.input.CreateEdgeInputMode#inputModeContext} then this instance will be used for the query.
- *
+ *
*
* Otherwise this implementation calls the {@link yfiles.styles.INodeStyleRenderer#getHitTestable} method of the nodes to find hit
* nodes and uses an {@link yfiles.collections.IComparer.} to determine the first hit node.
@@ -36757,7 +36765,7 @@ declare namespace yfiles{
* {@link yfiles.input.CreateEdgeInputMode#getSourcePortCandidate}.
*
- * This method is only called if no item has been and {@link yfiles.input.GraphInputMode#clickClearSelection} returned false.
+ * This method is only called if no item has been hit and {@link yfiles.input.GraphInputMode#clickClearSelection} returned false.
*
* @param context The input mode context.
* @param location The location of the click.
@@ -38194,7 +38202,7 @@ declare namespace yfiles{
*
* This method determines the label owner to add to and delegates to {@link yfiles.input.GraphEditorInputMode#createLabel}.
*
- * In general, to be able to undo or redo certain work client code can implement {@link yfiles.graph.IUndoUnit} or subclass
- * {@link yfiles.graph.UndoUnitBase UndoUnitBase}. The client application needs to encapsulate
- * changes in this implementation and provide the logic to completely undo and redo these changes.
- * Instances of your custom {@link yfiles.graph.IUndoUnit} implementations need to be added to the {@link yfiles.graph.UndoEngine}
+ * In general, to be able to undo or redo certain work client code can implement {@link yfiles.graph.IUndoUnit} or subclass
+ * {@link yfiles.graph.UndoUnitBase UndoUnitBase}. The client application needs to encapsulate
+ * changes in this implementation and provide the logic to completely undo and redo these changes.
+ * Instances of your custom {@link yfiles.graph.IUndoUnit} implementations need to be added to the {@link yfiles.graph.UndoEngine}
* manually via {@link yfiles.graph.UndoEngine#addUnit}.
*
* It is generally not necessary to subclass {@link yfiles.graph.UndoEngine} unless you want to customize the internal
- * handling of the units, which is both complicated and prone to errors. In most use cases it is sufficient
+ * handling of the units, which is both complicated and prone to errors. In most use cases it is sufficient
* to provide custom {@link yfiles.graph.IUndoUnit}s or {@link yfiles.graph.IMementoSupport}.
*
*
@@ -57530,12 +57538,12 @@ declare namespace yfiles{
beginCompoundEdit(undoName:string,redoName:string):yfiles.graph.ICompoundEdit;
/**
* Determines whether a call to {@link yfiles.graph.UndoEngine#redo} can be made.
- * @returns
+ * @returns
*/
canRedo():boolean;
/**
* Determines whether a call to {@link yfiles.graph.UndoEngine#undo} can be made.
- * @returns
+ * @returns
*/
canUndo():boolean;
/**
@@ -57944,38 +57952,38 @@ declare namespace yfiles{
*/
constructor(undoName:string,redoName?:string);
/**
- *
+ *
*/
dispose():void;
/**
- *
+ *
* @abstract
*/
redo():void;
/**
- *
+ *
* @param unit
- * @returns
+ * @returns
*/
tryMergeUnit(unit:yfiles.graph.IUndoUnit):boolean;
/**
- *
+ *
* @param unit
- * @returns
+ * @returns
*/
tryReplaceUnit(unit:yfiles.graph.IUndoUnit):boolean;
/**
- *
+ *
* @abstract
*/
undo():void;
/**
- *
+ *
* @type {string}
*/
undoName:string;
/**
- *
+ *
* @type {string}
*/
redoName:string;
@@ -57998,7 +58006,7 @@ declare namespace yfiles{
export interface FoldingEdgeConverterBase extends yfiles.lang.Object,yfiles.graph.IFoldingEdgeConverter{}
export class FoldingEdgeConverterBase {
/**
- *
+ *
* @param factory
* @param foldingView
* @param masterEdge
@@ -58006,7 +58014,7 @@ declare namespace yfiles{
* @param sourceIsCollapsed
* @param target
* @param targetIsCollapsed
- * @returns
+ * @returns
* @abstract
*/
addFoldingEdge(factory:yfiles.graph.IFoldingEdgeFactory,foldingView:yfiles.graph.IFoldingView,masterEdge:yfiles.graph.IEdge,source:yfiles.graph.INode,sourceIsCollapsed:boolean,target:yfiles.graph.INode,targetIsCollapsed:boolean):yfiles.graph.IEdge;
@@ -58776,7 +58784,7 @@ declare namespace yfiles{
* @param sourceIsCollapsed
* @param target
* @param targetIsCollapsed
- * @returns
+ * @returns
*/
addFoldingEdge(factory:yfiles.graph.IFoldingEdgeFactory,foldingView:yfiles.graph.IFoldingView,masterEdge:yfiles.graph.IEdge,source:yfiles.graph.INode,sourceIsCollapsed:boolean,target:yfiles.graph.INode,targetIsCollapsed:boolean):yfiles.graph.IEdge;
/**
@@ -58824,7 +58832,7 @@ declare namespace yfiles{
* @param sourceIsCollapsed
* @param targetSourceNode
* @param targetIsCollapsed
- * @returns
+ * @returns
* @protected
*/
addFirstSeparateEdge(factory:yfiles.graph.IFoldingEdgeFactory,foldingView:yfiles.graph.IFoldingView,masterEdge:yfiles.graph.IEdge,viewSourceNode:yfiles.graph.INode,sourceIsCollapsed:boolean,targetSourceNode:yfiles.graph.INode,targetIsCollapsed:boolean):yfiles.graph.IEdge;
@@ -59171,7 +59179,7 @@ declare namespace yfiles{
*/
clearBends():void;
/**
- *
+ *
* @param label
*/
remove(label:yfiles.graph.FoldingLabelState):void;
@@ -59373,7 +59381,7 @@ declare namespace yfiles{
*/
getFoldingPortState(masterPort:yfiles.graph.IPort):yfiles.graph.FoldingPortState;
/**
- *
+ *
* @param label
*/
remove(label:yfiles.graph.FoldingLabelState):void;
@@ -59645,7 +59653,7 @@ declare namespace yfiles{
*
* @param node The node relative to which the stripe layout is calculated. This should be the same node where {@link #table} for stripe is associated
* to.
- * @returns
+ * @returns
*/
getAbsoluteBounds?(node:yfiles.graph.INode):yfiles.geometry.Rect;
/**
@@ -60075,7 +60083,7 @@ declare namespace yfiles{
findStripes?(node:yfiles.graph.INode,location:yfiles.geometry.Point,stripeTypes:yfiles.graph.StripeTypes,filter:(obj:yfiles.graph.IStripe)=>boolean):yfiles.collections.IEnumerable;
/**
* Return the accumulated insets for the table.
- * @returns
+ * @returns
*/
getAccumulatedInsets?():yfiles.geometry.Insets;
/**
@@ -60635,21 +60643,21 @@ declare namespace yfiles{
*/
constructor(options?:{insets?:yfiles.geometry.Insets,useActualInsets?:boolean});
/**
- *
- * @returns
+ *
+ * @returns
*/
createDefaultParameter():yfiles.graph.ILabelModelParameter;
/**
* Creates the parameter for the given position.
* @param position The position.
- * @returns
+ * @returns
*/
createParameter(position:yfiles.graph.StretchStripeLabelModelPosition):yfiles.graph.ILabelModelParameter;
/**
- *
+ *
* @param label
* @param layoutParameter
- * @returns
+ * @returns
*/
getContext(label:yfiles.graph.ILabel,layoutParameter:yfiles.graph.ILabelModelParameter):yfiles.graph.ILookup;
/**
@@ -60666,16 +60674,16 @@ declare namespace yfiles{
*/
getGeometry(label:yfiles.graph.ILabel,layoutParameter:yfiles.graph.ILabelModelParameter):yfiles.geometry.IOrientedRectangle;
/**
- *
+ *
* @param label
* @param model
- * @returns
+ * @returns
*/
getParameters(label:yfiles.graph.ILabel,model:yfiles.graph.ILabelModel):yfiles.collections.IEnumerable;
/**
- *
+ *
* @param type
- * @returns
+ * @returns
*/
lookup(type:yfiles.lang.Class):any;
/**
@@ -60816,21 +60824,21 @@ declare namespace yfiles{
*/
constructor(options?:{ratio?:number,useActualInsets?:boolean});
/**
- *
- * @returns
+ *
+ * @returns
*/
createDefaultParameter():yfiles.graph.ILabelModelParameter;
/**
* Creates the parameter for the given position.
* @param position The position.
- * @returns
+ * @returns
*/
createParameter(position:yfiles.graph.StripeLabelModelPosition):yfiles.graph.ILabelModelParameter;
/**
- *
+ *
* @param label
* @param layoutParameter
- * @returns
+ * @returns
*/
getContext(label:yfiles.graph.ILabel,layoutParameter:yfiles.graph.ILabelModelParameter):yfiles.graph.ILookup;
/**
@@ -60847,16 +60855,16 @@ declare namespace yfiles{
*/
getGeometry(label:yfiles.graph.ILabel,layoutParameter:yfiles.graph.ILabelModelParameter):yfiles.geometry.IOrientedRectangle;
/**
- *
+ *
* @param label
* @param model
- * @returns
+ * @returns
*/
getParameters(label:yfiles.graph.ILabel,model:yfiles.graph.ILabelModel):yfiles.collections.IEnumerable;
/**
- *
+ *
* @param type
- * @returns
+ * @returns
*/
lookup(type:yfiles.lang.Class):any;
/**
@@ -60946,18 +60954,18 @@ declare namespace yfiles{
*/
constructor(options?:{insets?:yfiles.geometry.Insets,relativeLocation?:yfiles.geometry.Point,rowDefaults?:yfiles.graph.IStripeDefaults,columnDefaults?:yfiles.graph.IStripeDefaults});
/**
- *
+ *
* @param owner
* @param text
* @param [layoutParameter=null]
* @param [style=null]
* @param [preferredSize=null]
* @param [tag=null]
- * @returns
+ * @returns
*/
addLabel(owner:yfiles.graph.IStripe,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:any):yfiles.graph.ILabel;
/**
- *
+ *
* @param {Object} options The parameters to pass.
* @param options.owner
* @param options.text
@@ -60965,12 +60973,12 @@ declare namespace yfiles{
* @param [options.style=null]
* @param [options.preferredSize=null]
* @param [options.tag=null]
- * @returns
+ * @returns
*/
addLabel(options:{owner:yfiles.graph.IStripe,text:string,layoutParameter?:yfiles.graph.ILabelModelParameter,style?:yfiles.styles.ILabelStyle,preferredSize?:yfiles.geometry.Size,tag?:Object}):yfiles.graph.ILabel;
/**
- *
- * @returns
+ *
+ * @returns
*/
clone():any;
/**
@@ -61007,7 +61015,7 @@ declare namespace yfiles{
*/
copyRow(row:yfiles.graph.IRow):yfiles.graph.IRow;
/**
- *
+ *
* @param owner
* @param [width=null]
* @param [minWidth=null]
@@ -61015,11 +61023,11 @@ declare namespace yfiles{
* @param [style=null]
* @param [tag=null]
* @param [index=null]
- * @returns
+ * @returns
*/
createChildColumn(owner:yfiles.graph.IColumn,width?:number,minWidth?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:any,index?:number):yfiles.graph.IColumn;
/**
- *
+ *
* @param {Object} options The parameters to pass.
* @param options.owner
* @param [options.width=null]
@@ -61028,11 +61036,11 @@ declare namespace yfiles{
* @param [options.style=null]
* @param [options.tag=null]
* @param [options.index=null]
- * @returns
+ * @returns
*/
createChildColumn(options:{owner:yfiles.graph.IColumn,width?:number,minWidth?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:Object,index?:number}):yfiles.graph.IColumn;
/**
- *
+ *
* @param owner
* @param [height=null]
* @param [minHeight=null]
@@ -61040,11 +61048,11 @@ declare namespace yfiles{
* @param [style=null]
* @param [tag=null]
* @param [index=null]
- * @returns
+ * @returns
*/
createChildRow(owner:yfiles.graph.IRow,height?:number,minHeight?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:any,index?:number):yfiles.graph.IRow;
/**
- *
+ *
* @param {Object} options The parameters to pass.
* @param options.owner
* @param [options.height=null]
@@ -61053,7 +61061,7 @@ declare namespace yfiles{
* @param [options.style=null]
* @param [options.tag=null]
* @param [options.index=null]
- * @returns
+ * @returns
*/
createChildRow(options:{owner:yfiles.graph.IRow,height?:number,minHeight?:number,insets?:yfiles.geometry.Insets,style?:yfiles.styles.IStripeStyle,tag?:Object,index?:number}):yfiles.graph.IRow;
/**
@@ -61097,9 +61105,9 @@ declare namespace yfiles{
*/
static installStaticUndoSupport(graph:yfiles.graph.IGraph):void;
/**
- *
+ *
* @param type
- * @returns
+ * @returns
*/
lookup(type:yfiles.lang.Class):any;
/**
@@ -61170,7 +61178,7 @@ declare namespace yfiles{
*/
remove(label:yfiles.graph.ILabel):void;
/**
- *
+ *
* @param stripe
*/
remove(stripe:yfiles.graph.IStripe):void;
@@ -61198,33 +61206,33 @@ declare namespace yfiles{
*/
setLabelText(label:yfiles.graph.ILabel,text:string):void;
/**
- *
+ *
* @param stripe
* @param minimumSize
*/
setMinimumSize(stripe:yfiles.graph.IStripe,minimumSize:number):void;
/**
- *
+ *
* @param owner
* @param column
* @param [index=null]
*/
setParent(owner:yfiles.graph.IColumn,column:yfiles.graph.IColumn,index?:number):void;
/**
- *
+ *
* @param owner
* @param row
* @param [index=null]
*/
setParent(owner:yfiles.graph.IRow,row:yfiles.graph.IRow,index?:number):void;
/**
- *
+ *
* @param stripe
* @param size
*/
setSize(stripe:yfiles.graph.IStripe,size:number):void;
/**
- *
+ *
* @param stripe
* @param insets
*/
@@ -61240,7 +61248,7 @@ declare namespace yfiles{
*/
setStyle(label:yfiles.graph.ILabel,style:yfiles.styles.ILabelStyle):void;
/**
- *
+ *
* @param stripe
* @param style
*/
@@ -61298,13 +61306,13 @@ declare namespace yfiles{
*/
columns:yfiles.collections.IEnumerable;
/**
- *
+ *
* @default '0'
* @type {yfiles.geometry.Insets}
*/
insets:yfiles.geometry.Insets;
/**
- *
+ *
* @default '0,0'
* @type {yfiles.geometry.Point}
*/
@@ -61319,62 +61327,62 @@ declare namespace yfiles{
*/
layout:yfiles.geometry.IRectangle;
/**
- *
+ *
* @param listener
*/
addStripeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
removeStripeCreatedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
addStripeRemovedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
removeStripeRemovedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
addStripeChangedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
removeStripeChangedListener(listener:(sender:any,evt:yfiles.graph.StripeEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
addLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
removeLabelAddedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
addLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
removeLabelRemovedListener(listener:(sender:any,evt:yfiles.graph.LabelEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
addLabelChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
/**
- *
+ *
* @param listener
*/
removeLabelChangedListener(listener:(sender:any,evt:yfiles.collections.ItemEventArgs)=>void):void;
@@ -61405,12 +61413,12 @@ declare namespace yfiles{
*/
columnDefaults:yfiles.graph.IStripeDefaults;
/**
- *
+ *
* @type {yfiles.graph.IRow}
*/
rootRow:yfiles.graph.IRow;
/**
- *
+ *
* @type {yfiles.graph.IColumn}
*/
rootColumn:yfiles.graph.IColumn;
@@ -61512,8 +61520,8 @@ declare namespace yfiles{
*/
constructor(options?:{size?:number,minimumSize?:number,labels?:yfiles.graph.ILabelDefaults,style?:yfiles.styles.IStripeStyle,shareStyleInstance?:boolean});
/**
- *
- * @returns
+ *
+ * @returns
*/
getStyleInstance():yfiles.styles.IStripeStyle;
/**
@@ -61537,17 +61545,17 @@ declare namespace yfiles{
*/
minimumSize:number;
/**
- *
+ *
* @type {yfiles.graph.ILabelDefaults}
*/
labels:yfiles.graph.ILabelDefaults;
/**
- *
+ *
* @type {yfiles.styles.IStripeStyle}
*/
style:yfiles.styles.IStripeStyle;
/**
- *
+ *
* @default true
* @type {boolean}
*/
@@ -62082,8 +62090,8 @@ declare namespace yfiles{
*/
constructor(width:number,height:number);
/**
- *
- * @returns
+ *
+ * @returns
*/
clone():yfiles.geometry.Size;
/**
@@ -62221,8 +62229,8 @@ declare namespace yfiles{
*/
add(otherPoint:yfiles.geometry.Point):yfiles.geometry.Point;
/**
- *
- * @returns
+ *
+ * @returns
*/
clone():yfiles.geometry.Point;
/**
@@ -62235,7 +62243,7 @@ declare namespace yfiles{
/**
* Performs an implicit conversion from {@link yfiles.geometry.Point} to {@link yfiles.geometry.MutablePoint}.
* @param point The point to convert.
- * @returns
+ * @returns
* @static
*/
static convertToMutablePoint(point:yfiles.geometry.Point):yfiles.geometry.MutablePoint;
@@ -62437,21 +62445,21 @@ declare namespace yfiles{
*/
constructor(inset:number);
/**
- *
- * @returns
+ *
+ * @returns
*/
clone():yfiles.geometry.Insets;
/**
* Calculates the union of this instance and the given inset which is done by performing {@link Math#max} on all four inset
* values.
* @param insets The insets to max with these insets.
- * @returns
+ * @returns
*/
createUnion(insets:yfiles.geometry.Insets):yfiles.geometry.Insets;
/**
* Creates an enlarged instance by adding the insets of the specified insets to this instance and returning the result.
* @param insets The insets to add to this instance.
- * @returns
+ * @returns
*/
getEnlarged(insets:yfiles.geometry.Insets):yfiles.geometry.Insets;
/**
@@ -62571,8 +62579,8 @@ declare namespace yfiles{
*/
static add(firstRectangle:yfiles.geometry.Rect,secondRectangle:yfiles.geometry.Rect):yfiles.geometry.Rect;
/**
- *
- * @returns
+ *
+ * @returns
*/
clone():yfiles.geometry.Rect;
/**
@@ -62620,7 +62628,7 @@ declare namespace yfiles{
* If this instance {@link yfiles.geometry.Rect#isEmpty}, the result will be the same.
*
* @param size The inset to add to each of the sides to grow the new instance.
- * @returns
+ * @returns
* @see yfiles.geometry.Rect#getEnlarged
*/
getEnlarged(size:number):yfiles.geometry.Rect;
@@ -62630,19 +62638,19 @@ declare namespace yfiles{
* If this instance {@link yfiles.geometry.Rect#isEmpty}, the same will be returned.
*
* @param insets The insets to use to add to the instance.
- * @returns
+ * @returns
*/
getEnlarged(insets:yfiles.geometry.Insets):yfiles.geometry.Rect;
/**
* Transforms this instance using the specified matrix and returns the result.
* @param transform The transform matrix to apply to this instance.
- * @returns
+ * @returns
*/
getTransformed(transform:yfiles.geometry.Matrix):yfiles.geometry.Rect;
/**
* Returns a translated instance of this which has modified {@link yfiles.geometry.Rect#x} and {@link yfiles.geometry.Rect#y} by the given amount.
* @param delta The delta to add to {@link #x} and {@link #y}.
- * @returns
+ * @returns
*/
getTranslated(delta:yfiles.geometry.Point):yfiles.geometry.Rect;
/**
@@ -63978,7 +63986,7 @@ declare namespace yfiles{
* @param height
* @param upX
* @param upY
- * @returns
+ * @returns
* @static
*/
static createImmutable(anchorX:number,anchorY:number,width:number,height:number,upX:number,upY:number):yfiles.geometry.IOrientedRectangle;
@@ -64295,7 +64303,7 @@ declare namespace yfiles{
* @param edge
* @param inner
* @param outer
- * @returns
+ * @returns
* @protected
*/
getIntersection(node:yfiles.graph.INode,nodeShapeGeometry:yfiles.styles.IShapeGeometry,edge:yfiles.graph.IEdge,inner:yfiles.geometry.Point,outer:yfiles.geometry.Point):yfiles.geometry.Point;
@@ -64344,7 +64352,7 @@ declare namespace yfiles{
* @param node
* @param nodeShapeGeometry
* @param edge
- * @returns
+ * @returns
* @protected
*/
isInside(location:yfiles.geometry.Point,node:yfiles.graph.INode,nodeShapeGeometry:yfiles.styles.IShapeGeometry,edge:yfiles.graph.IEdge):boolean;
@@ -64546,28 +64554,28 @@ declare namespace yfiles{
* Yields the {@link yfiles.view.IBoundsProvider#EMPTY} that will return empty bounds.
* @param edge
* @param style
- * @returns
+ * @returns
*/
getBoundsProvider(edge:yfiles.graph.IEdge,style:yfiles.styles.IEdgeStyle):yfiles.view.IBoundsProvider;
/**
* Yields the {@link yfiles.graph.ILookup#EMPTY} that will not yield anything.
* @param edge
* @param style
- * @returns
+ * @returns
*/
getContext(edge:yfiles.graph.IEdge,style:yfiles.styles.IEdgeStyle):yfiles.graph.ILookup;
/**
* Yields the {@link yfiles.input.IHitTestable#NEVER} that will always report misses.
* @param edge
* @param style
- * @returns
+ * @returns
*/
getHitTestable(edge:yfiles.graph.IEdge,style:yfiles.styles.IEdgeStyle):yfiles.input.IHitTestable;
/**
* Yields the {@link yfiles.input.IMarqueeTestable#NEVER} that will always report misses.
* @param edge
* @param style
- * @returns
+ * @returns
*/
getMarqueeTestable(edge:yfiles.graph.IEdge,style:yfiles.styles.IEdgeStyle):yfiles.input.IMarqueeTestable;
/**
@@ -64582,14 +64590,14 @@ declare namespace yfiles{
* Yields the {@link yfiles.view.IVisibilityTestable#NEVER} that will always claim invisibility.
* @param edge
* @param style
- * @returns
+ * @returns
*/
getVisibilityTestable(edge:yfiles.graph.IEdge,style:yfiles.styles.IEdgeStyle):yfiles.view.IVisibilityTestable;
/**
* Yields the {@link yfiles.view.VoidVisualCreator#INSTANCE} that will do nothing.
* @param edge
* @param style
- * @returns
+ * @returns
*/
getVisualCreator(edge:yfiles.graph.IEdge,style:yfiles.styles.IEdgeStyle):yfiles.view.IVisualCreator;
/**
@@ -64893,49 +64901,49 @@ declare namespace yfiles{
* Yields the {@link yfiles.view.IBoundsProvider#EMPTY} that will return empty bounds.
* @param label
* @param style
- * @returns
+ * @returns
*/
getBoundsProvider(label:yfiles.graph.ILabel,style:yfiles.styles.ILabelStyle):yfiles.view.IBoundsProvider;
/**
* Yields the {@link yfiles.graph.ILookup#EMPTY} that will not yield anything.
* @param label
* @param style
- * @returns
+ * @returns
*/
getContext(label:yfiles.graph.ILabel,style:yfiles.styles.ILabelStyle):yfiles.graph.ILookup;
/**
* Yields the {@link yfiles.input.IHitTestable#NEVER} that will always report misses.
* @param label
* @param style
- * @returns
+ * @returns
*/
getHitTestable(label:yfiles.graph.ILabel,style:yfiles.styles.ILabelStyle):yfiles.input.IHitTestable;
/**
* Yields the {@link yfiles.input.IMarqueeTestable#NEVER} that will always report misses.
* @param label
* @param style
- * @returns
+ * @returns
*/
getMarqueeTestable(label:yfiles.graph.ILabel,style:yfiles.styles.ILabelStyle):yfiles.input.IMarqueeTestable;
/**
* Yields {@link yfiles.geometry.Size#EMPTY}.
* @param label
* @param style
- * @returns
+ * @returns
*/
getPreferredSize(label:yfiles.graph.ILabel,style:yfiles.styles.ILabelStyle):yfiles.geometry.Size;
/**
* Yields the {@link yfiles.view.IVisibilityTestable#NEVER} that will always claim invisibility.
* @param label
* @param style
- * @returns
+ * @returns
*/
getVisibilityTestable(label:yfiles.graph.ILabel,style:yfiles.styles.ILabelStyle):yfiles.view.IVisibilityTestable;
/**
* Yields the {@link yfiles.view.VoidVisualCreator#INSTANCE} that will do nothing.
* @param label
* @param style
- * @returns
+ * @returns
*/
getVisualCreator(label:yfiles.graph.ILabel,style:yfiles.styles.ILabelStyle):yfiles.view.IVisualCreator;
/**
@@ -65196,28 +65204,28 @@ declare namespace yfiles{
* Yields the {@link yfiles.view.IBoundsProvider#EMPTY} that will return empty bounds.
* @param node
* @param style
- * @returns
+ * @returns
*/
getBoundsProvider(node:yfiles.graph.INode,style:yfiles.styles.INodeStyle):yfiles.view.IBoundsProvider;
/**
* Yields the {@link yfiles.graph.ILookup#EMPTY} that will not yield anything.
* @param node
* @param style
- * @returns
+ * @returns
*/
getContext(node:yfiles.graph.INode,style:yfiles.styles.INodeStyle):yfiles.graph.ILookup;
/**
* Yields the {@link yfiles.input.IHitTestable#NEVER} that will always report misses.
* @param node
* @param style
- * @returns
+ * @returns
*/
getHitTestable(node:yfiles.graph.INode,style:yfiles.styles.INodeStyle):yfiles.input.IHitTestable;
/**
* Yields the {@link yfiles.input.IMarqueeTestable#NEVER} that will always report misses.
* @param node
* @param style
- * @returns
+ * @returns
*/
getMarqueeTestable(node:yfiles.graph.INode,style:yfiles.styles.INodeStyle):yfiles.input.IMarqueeTestable;
/**
@@ -65232,14 +65240,14 @@ declare namespace yfiles{
* Yields the {@link yfiles.view.IVisibilityTestable#NEVER} that will always claim invisibility.
* @param node
* @param style
- * @returns
+ * @returns
*/
getVisibilityTestable(node:yfiles.graph.INode,style:yfiles.styles.INodeStyle):yfiles.view.IVisibilityTestable;
/**
* Yields the {@link yfiles.view.VoidVisualCreator#INSTANCE} that will do nothing.
* @param node
* @param style
- * @returns
+ * @returns
*/
getVisualCreator(node:yfiles.graph.INode,style:yfiles.styles.INodeStyle):yfiles.view.IVisualCreator;
/**
@@ -65465,42 +65473,42 @@ declare namespace yfiles{
* Yields the {@link yfiles.view.IBoundsProvider#EMPTY} that will return empty bounds.
* @param port
* @param style
- * @returns
+ * @returns
*/
getBoundsProvider(port:yfiles.graph.IPort,style:yfiles.styles.IPortStyle):yfiles.view.IBoundsProvider;
/**
* Yields the {@link yfiles.graph.ILookup#EMPTY} that will not yield anything.
* @param port
* @param style
- * @returns
+ * @returns
*/
getContext(port:yfiles.graph.IPort,style:yfiles.styles.IPortStyle):yfiles.graph.ILookup;
/**
* Yields the {@link yfiles.input.IHitTestable#NEVER} that will always report misses.
* @param port
* @param style
- * @returns
+ * @returns
*/
getHitTestable(port:yfiles.graph.IPort,style:yfiles.styles.IPortStyle):yfiles.input.IHitTestable;
/**
* Yields the {@link yfiles.input.IMarqueeTestable#NEVER} that will always report misses.
* @param port
* @param style
- * @returns
+ * @returns
*/
getMarqueeTestable(port:yfiles.graph.IPort,style:yfiles.styles.IPortStyle):yfiles.input.IMarqueeTestable;
/**
* Yields the {@link yfiles.view.IVisibilityTestable#NEVER} that will always claim invisibility.
* @param port
* @param style
- * @returns
+ * @returns
*/
getVisibilityTestable(port:yfiles.graph.IPort,style:yfiles.styles.IPortStyle):yfiles.view.IVisibilityTestable;
/**
* Yields the {@link yfiles.view.VoidVisualCreator#INSTANCE} that will do nothing.
* @param port
* @param style
- * @returns
+ * @returns
*/
getVisualCreator(port:yfiles.graph.IPort,style:yfiles.styles.IPortStyle):yfiles.view.IVisualCreator;
/**
@@ -65864,8 +65872,8 @@ declare namespace yfiles{
*/
constructor(options?:{buttonPlacement?:yfiles.graph.ILabelModelParameter,insets?:yfiles.geometry.Insets});
/**
- *
- * @returns
+ *
+ * @returns
*/
clone():any;
/**
@@ -65891,7 +65899,7 @@ declare namespace yfiles{
*/
insets:yfiles.geometry.Insets;
/**
- *
+ *
* @type {yfiles.styles.INodeStyleRenderer}
*/
renderer:yfiles.styles.INodeStyleRenderer;
@@ -65963,7 +65971,7 @@ declare namespace yfiles{
* @param context The context.
* @param expanded Specifies whether the button visual is created for the expanded or the collapsed state.
* @param size The button size.
- * @returns
+ * @returns
* @protected
*/
createButton(context:yfiles.view.IRenderContext,expanded:boolean,size:yfiles.geometry.Size):yfiles.view.SvgVisual;
@@ -65982,13 +65990,13 @@ declare namespace yfiles{
* placement of the button and use the {@link yfiles.styles.CollapsibleNodeStyleDecorator#wrapped wrapped style} to create the visual for the actual node.
*
* @param context
- * @returns
+ * @returns
*/
createVisual(context:yfiles.view.IRenderContext):yfiles.view.Visual;
/**
* Delegates to the {@link yfiles.styles.CollapsibleNodeStyleDecoratorRenderer#getWrappedStyle} and takes the button into account.
* @param context
- * @returns
+ * @returns
*/
getBounds(context:yfiles.view.ICanvasContext):yfiles.geometry.Rect;
/**
@@ -66002,7 +66010,7 @@ declare namespace yfiles{
getBoundsProvider(node:yfiles.graph.INode,style:yfiles.styles.INodeStyle):yfiles.view.IBoundsProvider;
/**
* Yields the {@link yfiles.styles.CollapsibleNodeStyleDecorator#buttonPlacement} for the current {@link yfiles.styles.CollapsibleNodeStyleDecoratorRenderer#style}
- * @returns
+ * @returns
* @protected
*/
getButtonLocationParameter():yfiles.graph.ILabelModelParameter;
@@ -66040,7 +66048,7 @@ declare namespace yfiles{
* Delegates to the {@link yfiles.styles.CollapsibleNodeStyleDecoratorRenderer#getWrappedStyle}.
* @param inner
* @param outer
- * @returns
+ * @returns
*/
getIntersection(inner:yfiles.geometry.Point,outer:yfiles.geometry.Point):yfiles.geometry.Point;
/**
@@ -66054,7 +66062,7 @@ declare namespace yfiles{
getMarqueeTestable(node:yfiles.graph.INode,style:yfiles.styles.INodeStyle):yfiles.input.IMarqueeTestable;
/**
* Delegates to the {@link yfiles.styles.CollapsibleNodeStyleDecoratorRenderer#getWrappedStyle}.
- * @returns
+ * @returns
*/
getOutline():yfiles.geometry.GeneralPath;
/**
@@ -66092,7 +66100,7 @@ declare namespace yfiles{
getVisualCreator(node:yfiles.graph.INode,style:yfiles.styles.INodeStyle):yfiles.view.IVisualCreator;
/**
* Yields the {@link yfiles.styles.CollapsibleNodeStyleDecorator#wrapped} property for the current {@link yfiles.styles.CollapsibleNodeStyleDecoratorRenderer#style}
- * @returns
+ * @returns
* @protected
*/
getWrappedStyle():yfiles.styles.INodeStyle;
@@ -66100,33 +66108,33 @@ declare namespace yfiles{
* Delegates to the {@link yfiles.styles.CollapsibleNodeStyleDecoratorRenderer#getWrappedStyle} and checks the button.
* @param context
* @param location
- * @returns
+ * @returns
*/
isHit(context:yfiles.input.IInputModeContext,location:yfiles.geometry.Point):boolean;
/**
* Delegates to the {@link yfiles.styles.CollapsibleNodeStyleDecoratorRenderer#getWrappedStyle}.
* @param context
* @param rectangle
- * @returns
+ * @returns
*/
isInBox(context:yfiles.input.IInputModeContext,rectangle:yfiles.geometry.Rect):boolean;
/**
* Delegates to the {@link yfiles.styles.CollapsibleNodeStyleDecoratorRenderer#getWrappedStyle}.
* @param location
- * @returns
+ * @returns
*/
isInside(location:yfiles.geometry.Point):boolean;
/**
* Delegates to the {@link yfiles.styles.CollapsibleNodeStyleDecoratorRenderer#getWrappedStyle}.
* @param context
* @param rectangle
- * @returns
+ * @returns
*/
isVisible(context:yfiles.view.ICanvasContext,rectangle:yfiles.geometry.Rect):boolean;
/**
- *
+ *
* @param type
- * @returns
+ * @returns
*/
lookup(type:yfiles.lang.Class):any;
/**
@@ -66139,15 +66147,15 @@ declare namespace yfiles{
* @param expanded Specifies whether the button visual is updated for the expanded or the collapsed state.
* @param size The button size.
* @param oldButton The old button visual.
- * @returns
+ * @returns
* @protected
*/
updateButton(context:yfiles.view.IRenderContext,expanded:boolean,size:yfiles.geometry.Size,oldButton:yfiles.view.Visual):yfiles.view.SvgVisual;
/**
- *
+ *
* @param context
* @param oldVisual
- * @returns
+ * @returns
*/
updateVisual(context:yfiles.view.IRenderContext,oldVisual:yfiles.view.Visual):yfiles.view.Visual;
/**
@@ -66801,6 +66809,9 @@ declare namespace yfiles{
/**
* A label style decorator that uses a node style instance to render the background and a label style instance to render
* the foreground of a label.
+ *
+ * The renderer of the {@link yfiles.styles.NodeStyleLabelStyleAdapter#nodeStyle} used by this class must create {@link yfiles.view.SvgVisual}s.
+ *
* The new edge e has source node v and target node w.
*
- *
+ *
*
* Edge e is inserted in such a way that an iteration over the edges at node v returns e
*
@@ -75408,7 +75425,7 @@ declare namespace yfiles{
* Note that self-loops have the same node at both edge ends.
*
* @param v
- * @returns
+ * @returns
*/
opposite(v:yfiles.algorithms.Node):yfiles.algorithms.Node;
/**
@@ -75552,7 +75569,7 @@ declare namespace yfiles{
firstEdge():yfiles.algorithms.Edge;
/**
* Returns an enumerator for this collection.
- * @returns
+ * @returns
*/
getEnumerator():yfiles.collections.IEnumerator;
/**
@@ -75567,7 +75584,7 @@ declare namespace yfiles{
popEdge():yfiles.algorithms.Edge;
/**
* Returns an edge array containing all elements of this list in the canonical order.
- * @returns
+ * @returns
*/
toEdgeArray():yfiles.algorithms.Edge[];
static $class:yfiles.lang.Class;
@@ -75769,20 +75786,20 @@ declare namespace yfiles{
*
* @param l1
* @param l2
- * @returns
+ * @returns
* @static
*/
static getCrossing(l1:yfiles.algorithms.AffineLine,l2:yfiles.algorithms.AffineLine):yfiles.algorithms.YPoint;
/**
* Projects an point on the line in direction of the X-axis.
* @param p
- * @returns
+ * @returns
*/
getXProjection(p:yfiles.algorithms.YPoint):yfiles.algorithms.YPoint;
/**
* Projects an point on the line in direction of the Y-axis.
* @param p
- * @returns
+ * @returns
*/
getYProjection(p:yfiles.algorithms.YPoint):yfiles.algorithms.YPoint;
/**
@@ -75821,12 +75838,12 @@ declare namespace yfiles{
getValueAt(position:number):number;
/**
* Returns the next segment or null if there is no such segment.
- * @returns
+ * @returns
*/
next():yfiles.algorithms.BorderLineSegment;
/**
* Returns the previous segment or null if there is no such segment.
- * @returns
+ * @returns
*/
prev():yfiles.algorithms.BorderLineSegment;
/**
@@ -75920,7 +75937,7 @@ declare namespace yfiles{
createMin(other:yfiles.algorithms.BorderLine):yfiles.algorithms.BorderLine;
/**
* Returns the first segment or null if there is no such segment.
- * @returns
+ * @returns
*/
firstSegment():yfiles.algorithms.BorderLineSegment;
/**
@@ -75929,45 +75946,45 @@ declare namespace yfiles{
* The other one is treated as if the values were all greater.
*
* @param greater
- * @returns
+ * @returns
*/
getDistanceTo(greater:yfiles.algorithms.BorderLine):number;
/**
* Returns the maximum position of the given segment.
* @param s the segment
- * @returns
+ * @returns
*/
getMax(s:yfiles.algorithms.BorderLineSegment):number;
/**
* Calculates the maximum value in the interval from->to.
* @param from
* @param to
- * @returns
+ * @returns
*/
getMaxValue(from:number,to:number):number;
/**
* Returns the minimum position of the given segment.
* @param s the segment
- * @returns
+ * @returns
*/
getMin(s:yfiles.algorithms.BorderLineSegment):number;
/**
* Calculates the minimum value in the interval from->to.
* @param from
* @param to
- * @returns
+ * @returns
*/
getMinValue(from:number,to:number):number;
/**
* Returns the segment at the given position.
* @param pos the position
- * @returns
+ * @returns
*/
getSegmentAt(pos:number):yfiles.algorithms.BorderLineSegment;
/**
* Returns the slope of the given segment.
* @param s the segment
- * @returns
+ * @returns
*/
getSlope(s:yfiles.algorithms.BorderLineSegment):number;
/**
@@ -75977,7 +75994,7 @@ declare namespace yfiles{
* the start of the slope.
*
* @param s the segment
- * @returns
+ * @returns
*/
getValue(s:yfiles.algorithms.BorderLineSegment):number;
/**
@@ -76027,7 +76044,7 @@ declare namespace yfiles{
grow(toMin:number,toMax:number,positive:boolean):void;
/**
* Returns the last segment or null if there is no such segment.
- * @returns
+ * @returns
*/
lastSegment():yfiles.algorithms.BorderLineSegment;
/**
@@ -76043,13 +76060,13 @@ declare namespace yfiles{
/**
* Returns the next segment or null if there is no such segment.
* @param s
- * @returns
+ * @returns
*/
next(s:yfiles.algorithms.BorderLineSegment):yfiles.algorithms.BorderLineSegment;
/**
* Returns the previous segment or null if there is no such segment.
* @param s
- * @returns
+ * @returns
*/
prev(s:yfiles.algorithms.BorderLineSegment):yfiles.algorithms.BorderLineSegment;
/**
@@ -76175,7 +76192,7 @@ declare namespace yfiles{
* @param r1 the first of a pair of Rectangle2D objects to be intersected with each other
* @param r2 the second of a pair of Rectangle2D objects to be intersected with each other
* @param dest the Rectangle2D that holds the results of the intersection of r1 and r2
- * @returns
+ * @returns
* @static
*/
static calcIntersection(r1:yfiles.algorithms.Rectangle2D,r2:yfiles.algorithms.Rectangle2D,dest:yfiles.algorithms.Rectangle2D):yfiles.algorithms.Rectangle2D;
@@ -76190,7 +76207,7 @@ declare namespace yfiles{
* @param r1 the first of a pair of Rectangle2D objects to be combined with each other
* @param r2 the second of a pair of Rectangle2D objects to be combined with each other
* @param dest the Rectangle2D that holds the results of the union of r1 and r2
- * @returns
+ * @returns
* @static
*/
static calcUnion(r1:yfiles.algorithms.Rectangle2D,r2:yfiles.algorithms.Rectangle2D,dest:yfiles.algorithms.Rectangle2D):yfiles.algorithms.Rectangle2D;
@@ -76205,7 +76222,7 @@ declare namespace yfiles{
* @param p
* @param q
* @param r
- * @returns
+ * @returns
* @static
*/
static collinear(p:yfiles.algorithms.YPoint,q:yfiles.algorithms.YPoint,r:yfiles.algorithms.YPoint):boolean;
@@ -76217,7 +76234,7 @@ declare namespace yfiles{
* @param lineY1 the y coordinate of l1
* @param lineX2 the x coordinate of l2
* @param lineY2 the y coordinate of l2
- * @returns
+ * @returns
* @static
*/
static distanceToLineSegment(pointX:number,pointY:number,lineX1:number,lineY1:number,lineX2:number,lineY2:number):number;
@@ -76226,7 +76243,7 @@ declare namespace yfiles{
* @param p
* @param q
* @param r
- * @returns
+ * @returns
* @static
*/
static leftTurn(p:yfiles.algorithms.YPoint,q:yfiles.algorithms.YPoint,r:yfiles.algorithms.YPoint):boolean;
@@ -76240,7 +76257,7 @@ declare namespace yfiles{
* @param y3
* @param x4
* @param y4
- * @returns
+ * @returns
* @static
*/
static linesIntersect(x1:number,y1:number,x2:number,y2:number,x3:number,y3:number,x4:number,y4:number):boolean;
@@ -76252,7 +76269,7 @@ declare namespace yfiles{
* @param qy
* @param rx
* @param ry
- * @returns
+ * @returns
* @static
*/
static orientation(px:number,py:number,qx:number,qy:number,rx:number,ry:number):number;
@@ -76288,7 +76305,7 @@ declare namespace yfiles{
* @param lineY1 the y coordinate of l1
* @param lineX2 the x coordinate of l2
* @param lineY2 the y coordinate of l2
- * @returns
+ * @returns
* @static
*/
static projection(pointX:number,pointY:number,lineX1:number,lineY1:number,lineX2:number,lineY2:number):yfiles.algorithms.YPoint;
@@ -76297,7 +76314,7 @@ declare namespace yfiles{
* @param p
* @param q
* @param r
- * @returns
+ * @returns
* @static
*/
static rightTurn(p:yfiles.algorithms.YPoint,q:yfiles.algorithms.YPoint,r:yfiles.algorithms.YPoint):boolean;
@@ -76308,21 +76325,21 @@ declare namespace yfiles{
* @param b
* @param c
* @param d
- * @returns
+ * @returns
* @static
*/
static sideOfCircle(a:yfiles.algorithms.YPoint,b:yfiles.algorithms.YPoint,c:yfiles.algorithms.YPoint,d:yfiles.algorithms.YPoint):number;
/**
* Converts the given degree value from radian to angular
* @param angrad
- * @returns
+ * @returns
* @static
*/
static toDegrees(angrad:number):number;
/**
* Converts the given degree value from angular to radian.
* @param angdeg
- * @returns
+ * @returns
* @static
*/
static toRadians(angdeg:number):number;
@@ -76395,8 +76412,8 @@ declare namespace yfiles{
*/
constructor(top:number,left:number,bottom:number,right:number);
/**
- *
- * @returns
+ *
+ * @returns
*/
clone():any;
/**
@@ -76540,7 +76557,7 @@ declare namespace yfiles{
* intersect.
* @param s1 first line segment
* @param s2 second line segment
- * @returns
+ * @returns
* @static
*/
static getIntersection(s1:yfiles.algorithms.LineSegment,s2:yfiles.algorithms.LineSegment):yfiles.algorithms.YPoint;
@@ -76570,13 +76587,13 @@ declare namespace yfiles{
/**
* Returns if the projection on the X axis of the line segment covers a certain point on the X Axis.
* @param x
- * @returns
+ * @returns
*/
isInXIntervall(x:number):boolean;
/**
* Returns if the projection on the Y axis of the line segment covers a certain point on the Y Axis.
* @param y
- * @returns
+ * @returns
*/
isInYIntervall(y:number):boolean;
/**
@@ -76597,12 +76614,12 @@ declare namespace yfiles{
length():number;
/**
* Returns the affine line defined by the end points of the line segment.
- * @returns
+ * @returns
*/
toAffineLine():yfiles.algorithms.AffineLine;
/**
* Returns the vector pointing from the first end point to the second end point of the line segment.
- * @returns
+ * @returns
*/
toYVector():yfiles.algorithms.YVector;
/**
@@ -77073,9 +77090,9 @@ declare namespace yfiles{
*/
constructor(width:number,height:number);
/**
- *
+ *
* @param o
- * @returns
+ * @returns
*/
compareTo(o:any):number;
/**
@@ -77397,7 +77414,7 @@ declare namespace yfiles{
* Adds two points and returns the result.
* @param p1 an arbitrary instance of YPoint.
* @param p2 an arbitrary instance of YPoint.
- * @returns
+ * @returns
* @static
*/
static add(p1:yfiles.algorithms.YPoint,p2:yfiles.algorithms.YPoint):yfiles.algorithms.YPoint;
@@ -77408,7 +77425,7 @@ declare namespace yfiles{
* by ascending y-coordinates.
*
* @param o
- * @returns
+ * @returns
*/
compareTo(o:any):number;
/**
@@ -77446,7 +77463,7 @@ declare namespace yfiles{
* Returns a point that geometrically lies in in the middle of the line formed by the given points.
* @param p1 an arbitrary instance of YPoint.
* @param p2 an arbitrary instance of YPoint.
- * @returns
+ * @returns
* @static
*/
static midPoint(p1:yfiles.algorithms.YPoint,p2:yfiles.algorithms.YPoint):yfiles.algorithms.YPoint;
@@ -77461,14 +77478,14 @@ declare namespace yfiles{
* Subtracts two points (p1 - p2) and returns the result.
* @param p1 an arbitrary instance of YPoint.
* @param p2 an arbitrary instance of YPoint.
- * @returns
+ * @returns
* @static
*/
static subtract(p1:yfiles.algorithms.YPoint,p2:yfiles.algorithms.YPoint):yfiles.algorithms.YPoint;
/**
* Returns a copy of the given point with exchanged x- and y-coordinates.
* @param p an arbitrary instance of YPoint.
- * @returns
+ * @returns
* @static
*/
static swap(p:yfiles.algorithms.YPoint):yfiles.algorithms.YPoint;
@@ -77528,38 +77545,38 @@ declare namespace yfiles{
calculateLength():number;
/**
* Create a point path with reverse ordering of the points.
- * @returns
+ * @returns
*/
createReverse():yfiles.algorithms.YPointPath;
/**
* Get the points in the path.
- * @returns
+ * @returns
*/
cursor():yfiles.algorithms.ICursor;
/**
* Returns a line segment in the path.
* @param i
- * @returns
+ * @returns
*/
getLineSegment(i:number):yfiles.algorithms.LineSegment;
/**
* Get the number of points in the path.
- * @returns
+ * @returns
*/
length():number;
/**
* Get the points in the path.
- * @returns
+ * @returns
*/
lineSegments():yfiles.algorithms.ILineSegmentCursor;
/**
* Get the points in the path.
- * @returns
+ * @returns
*/
points():yfiles.algorithms.IPointCursor;
/**
* Get the points in the list as array.
- * @returns
+ * @returns
*/
toArray():yfiles.algorithms.YPoint[];
/**
@@ -77621,13 +77638,13 @@ declare namespace yfiles{
/**
* Checks whether or not this YRectangle contains the given rectangle.
* @param p
- * @returns
+ * @returns
*/
contains(p:yfiles.algorithms.YRectangle):boolean;
/**
* Checks whether or not this YRectangle contains the given point.
* @param p
- * @returns
+ * @returns
*/
contains(p:yfiles.algorithms.YPoint):boolean;
/**
@@ -77636,7 +77653,7 @@ declare namespace yfiles{
* @param y
* @param width
* @param height
- * @returns
+ * @returns
*/
contains(x:number,y:number,width:number,height:number):boolean;
/**
@@ -77681,7 +77698,7 @@ declare namespace yfiles{
* Returns whether or not the given rectangles intersect.
* @param r1
* @param r2
- * @returns
+ * @returns
* @static
*/
static intersects(r1:yfiles.algorithms.YRectangle,r2:yfiles.algorithms.YRectangle):boolean;
@@ -77793,14 +77810,14 @@ declare namespace yfiles{
*
* @param v1
* @param v2
- * @returns
+ * @returns
* @static
*/
static angle(v1:yfiles.algorithms.YVector,v2:yfiles.algorithms.YVector):number;
/**
* Returns this vector with unit length.
* @param v
- * @returns
+ * @returns
* @static
*/
static getNormal(v:yfiles.algorithms.YVector):yfiles.algorithms.YVector;
@@ -77825,7 +77842,7 @@ declare namespace yfiles{
* Returns true if vector v1 is on the right side of v2.
* @param v1
* @param v2
- * @returns
+ * @returns
* @static
*/
static rightOf(v1:yfiles.algorithms.YVector,v2:yfiles.algorithms.YVector):boolean;
@@ -77941,7 +77958,7 @@ declare namespace yfiles{
* Edge e has source node v := sourceReference.source() or v := newSource, if sourceReference == null and target node w := targetReference.target()
* or w := newTarget, if targetReference == null.
*
- *
+ *
*
* Edge e is inserted in such a way that an iteration over the edges at v returns e
*
@@ -77972,7 +77989,7 @@ declare namespace yfiles{
*
* Edge e has source node v := e1.source() and target node w := e2.target().
*
- *
+ *
*
* Edge e is inserted in such a way that an iteration over the edges at v returns e
*
@@ -78014,20 +78031,20 @@ declare namespace yfiles{
/**
* Whether or not this graph contains the given edge.
* @param e
- * @returns
+ * @returns
*/
contains(e:yfiles.algorithms.Edge):boolean;
/**
* Whether or not this graph contains the given node.
* @param v
- * @returns
+ * @returns
*/
contains(v:yfiles.algorithms.Node):boolean;
/**
* Returns whether or not this graph contains an edge that connects the given nodes.
* @param source The source node.
* @param target The target node.
- * @returns
+ * @returns
* @see yfiles.algorithms.Node#getEdgeTo
* @see yfiles.algorithms.Node#getEdgeFrom
* @see yfiles.algorithms.Node#getEdge
@@ -78047,7 +78064,7 @@ declare namespace yfiles{
*
* The new edge e has source node v and target node w, i.e., would be written as edge e = (v, w).
*
- *
+ *
*
* Edge e is inserted in such a way that an iteration over the edges at node v returns e
*
* Successor nodes are those at the opposite ends of outgoing edges.
*
- * @returns
+ * @returns
* @see yfiles.algorithms.Node#getPredecessorCursor
*/
getSuccessorCursor():yfiles.algorithms.INodeCursor;
@@ -80137,7 +80154,7 @@ declare namespace yfiles{
firstNode():yfiles.algorithms.Node;
/**
* Returns an enumerator for this collection.
- * @returns
+ * @returns
*/
getEnumerator():yfiles.collections.IEnumerator;
/**
@@ -80157,7 +80174,7 @@ declare namespace yfiles{
popNode():yfiles.algorithms.Node;
/**
* Returns a node array containing all elements of this list in the canonical order.
- * @returns
+ * @returns
*/
toNodeArray():yfiles.algorithms.Node[];
static $class:yfiles.lang.Class;
@@ -80580,7 +80597,7 @@ declare namespace yfiles{
* @param rank the {@link } that will be filled during the execution and returns the integer ranking of each node
* @param minLength the {@link } that returns an integer value (minimum/tight length) of each edge
* @param [maximalDuration=0x7FFFFFFFFFFFFFFF] a preferred time limit for the algorithm (in milliseconds)
- * @returns
+ * @returns
* @see yfiles.algorithms.RankAssignments#simple
* @static
*/
@@ -80737,7 +80754,7 @@ declare namespace yfiles{
* from node s to all other nodes or {@link #POSITIVE_INFINITY} if no such paths exist
* @param pred the {@link } that will be filled during the execution and returns for each node t the last edge on the
* shortest path from s to t or null if t == s or no shortest path from s to t exists
- * @returns
+ * @returns
* @see yfiles.algorithms.ShortestPaths#bellmanFord
* @static
*/
@@ -80762,7 +80779,7 @@ declare namespace yfiles{
* @param [pred=null] an array of {@link }s that will be filled during the execution and returns for each node t the shortest
* path edge pred[t.index()] which is the last edge on the shortest path from s to t. If t == s or if there is no shortest
* path from s to t, then pred[t.index()] == null.
- * @returns
+ * @returns
* @see yfiles.algorithms.ShortestPaths#constructNodePath
* @see yfiles.algorithms.ShortestPaths#constructEdgePath
* @see yfiles.algorithms.ShortestPaths#bellmanFord
@@ -81530,7 +81547,7 @@ declare namespace yfiles{
static compare(d1:number,d2:number):number;
/**
* Returns a {@link yfiles.collections.IComparer.} that compares to Objects of type Comparable.
- * @returns
+ * @returns
* @static
*/
static createComparableComparer():yfiles.collections.IComparer;
@@ -81623,7 +81640,7 @@ declare namespace yfiles{
* Creates a new cursor that provides a logical view on the concatenation of the two given cursors.
* @param c1 - first concatenation argument
* @param c2 - second concatenation argument
- * @returns
+ * @returns
* @static
*/
static concatenate(c1:yfiles.algorithms.ICursor,c2:yfiles.algorithms.ICursor):yfiles.algorithms.ICursor;
@@ -81709,28 +81726,28 @@ declare namespace yfiles{
/**
* Subclasses may override this method to provide access to object values.
* @param dataHolder
- * @returns
+ * @returns
* @throws {Stubs.Exceptions.NotSupportedError} unless overwritten.
*/
get(dataHolder:any):any;
/**
* Subclasses may override this method to provide access to boolean values.
* @param dataHolder
- * @returns
+ * @returns
* @throws {Stubs.Exceptions.NotSupportedError} unless overwritten.
*/
getBoolean(dataHolder:any):boolean;
/**
* Subclasses may override this method to provide access to integer values.
* @param dataHolder
- * @returns
+ * @returns
* @throws {Stubs.Exceptions.NotSupportedError} unless overwritten.
*/
getInt(dataHolder:any):number;
/**
* Subclasses may override this method to provide access to double values.
* @param dataHolder
- * @returns
+ * @returns
* @throws {Stubs.Exceptions.NotSupportedError} unless overwritten.
*/
getNumber(dataHolder:any):number;
@@ -81816,7 +81833,7 @@ declare namespace yfiles{
/**
* Returns a DataProvider that returns the negated boolean values provided by another data provider.
* @param data
- * @returns
+ * @returns
* @static
*/
static createNegatedDataProvider(data:yfiles.algorithms.IDataProvider):yfiles.algorithms.IDataProvider;
@@ -81885,14 +81902,14 @@ declare namespace yfiles{
/**
* Returns a DataProvider for edges that return the data provider values bound to their source nodes.
* @param nodeData
- * @returns
+ * @returns
* @static
*/
static createSourceDataProvider(nodeData:yfiles.algorithms.IDataProvider):yfiles.algorithms.IDataProvider;
/**
* Returns a DataProvider for edges that return the data provider values bound to their target nodes.
* @param nodeData
- * @returns
+ * @returns
* @static
*/
static createTargetDataProvider(nodeData:yfiles.algorithms.IDataProvider):yfiles.algorithms.IDataProvider;
@@ -82353,7 +82370,7 @@ declare namespace yfiles{
* given Map.
*
* @param map
- * @returns
+ * @returns
* @static
*/
static createDataMap(map:yfiles.collections.IMap):yfiles.algorithms.IDataMap;
@@ -82364,7 +82381,7 @@ declare namespace yfiles{
* given Map.
*
* @param map
- * @returns
+ * @returns
* @static
*/
static createEdgeMap(map:yfiles.collections.IMap):yfiles.algorithms.IEdgeMap;
@@ -82373,7 +82390,7 @@ declare namespace yfiles{
*
* The preconditions specified in java.util.HashMap apply for the keys and values of this map.
*
- * The randomization will increase the overall layout quality with high probability.
+ * The randomization will increase the overall layout quality with high probability. The drawback is that the running time
+ * of the layout algorithm may increase.
*
* @type {boolean}
*/
@@ -116217,10 +116235,16 @@ declare namespace yfiles{
* This algorithm is implemented as a {@link yfiles.layout.PartitionLayout} and applies the following steps:
*
*
- *
Divides the graph into smaller partitions.
+ *
+ * Divides the graph into smaller partitions using the partition finder instance created by
+ * {@link yfiles.layout.PartitionLayout#createEdgeBetweennessPartitionFinder}.
+ *
*
Arranges the nodes of each graph partition using {@link yfiles.orthogonal.OrthogonalLayout}.
- *
Arranges the partitions themselves in a compact manner.
- *
Routes the edges between partitions (inter-edges) using an edge router.
+ *
+ * Arranges the partitions themselves in a compact manner using the partition placer instance created by
+ * {@link yfiles.layout.PartitionLayout#createComponentPartitionPlacer}.
+ *
+ *
Routes the edges between partitions (inter-edges) using the router instance created by CreateChannelInterEdgeRouter.
*
*
* Each of these steps can be individually configured and/or replaced. To do so, use methods {@link yfiles.layout.PartitionLayout#partitionFinder}, {@link yfiles.layout.LayoutStageBase#coreLayout}, {@link yfiles.layout.PartitionLayout#partitionPlacer} and {@link yfiles.layout.PartitionLayout#interEdgeRouter}, respectively.
@@ -116268,6 +116292,7 @@ declare namespace yfiles{
*
* @throws {Stubs.Exceptions.ArgumentError} if the given aspect ratio is less than or equal to zero
* @see yfiles.layout.PartitionLayout#partitionPlacer
+ * @see yfiles.layout.PartitionLayout.T1
* @type {number}
*/
aspectRatio:number;
From 452bdf297cafe89cda3800b18fd8f39769f6548c Mon Sep 17 00:00:00 2001
From: Andy
Date: Mon, 23 Oct 2017 07:27:37 -0700
Subject: [PATCH 005/210] documentdb: Fix lint (#20846)
---
types/documentdb/index.d.ts | 122 +++++++++++++++++++-----------------
1 file changed, 63 insertions(+), 59 deletions(-)
diff --git a/types/documentdb/index.d.ts b/types/documentdb/index.d.ts
index 140470fbda..73ec95787c 100644
--- a/types/documentdb/index.d.ts
+++ b/types/documentdb/index.d.ts
@@ -553,6 +553,7 @@ export class HashPartitionResolver implements PartitionResolver {
*
* @deprecated
*/
+// tslint:disable-next-line no-unnecessary-class
export class Range {
/**
* DEPRECATED
@@ -619,7 +620,8 @@ export class DocumentClient {
*/
constructor(urlConnection: string, auth: AuthOptions, connectionPolicy?: ConnectionPolicy, consistencyLevel?: ConsistencyLevel);
- /** Create an attachment for the document object.
+ /**
+ * Create an attachment for the document object.
*
* Each document may contain zero or more attachments. Attachments can be of any MIME type - text, image, binary data.
* These are stored externally in Azure Blob storage. Attachments are automatically deleted when the parent document is deleted.
@@ -642,7 +644,8 @@ export class DocumentClient {
createAttachmentAndUploadMedia(documentLink: string, readableStream: NodeJS.ReadableStream, options: MediaOptions, callback: RequestCallback): void;
createAttachmentAndUploadMedia(documentLink: string, readableStream: NodeJS.ReadableStream, callback: RequestCallback): void;
- /** Send a request for creating a database.
+ /**
+ * Send a request for creating a database.
* A database manages users, permissions and a set of collections.
* Each Azure DocumentDB Database Account is able to support multiple independent named databases, with the database being the logical container for data.
* Each Database consists of one or more collections, each of which in turn contain one or more documents. Since databases are an an administrative
@@ -757,7 +760,8 @@ export class DocumentClient {
executeStoredProcedure(procedureLink: string, params: any[], options: RequestOptions, callback: RequestCallback): void;
executeStoredProcedure(procedureLink: string, paramsOrOptions: any[] | RequestOptions, callback: RequestCallback