mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 12:37:16 +08:00
Fix some comments that look like JSDoc comments (begin with /**) but are not.
This commit is contained in:
22
lodash/index.d.ts
vendored
22
lodash/index.d.ts
vendored
@@ -390,7 +390,7 @@ declare module _ {
|
||||
|
||||
interface LoDashExplicitNumberArrayWrapper extends LoDashExplicitArrayWrapper<number> { }
|
||||
|
||||
/*********
|
||||
/* *******
|
||||
* Array *
|
||||
*********/
|
||||
|
||||
@@ -5701,7 +5701,7 @@ declare module _ {
|
||||
zipWith<TResult>(...args: any[]): LoDashImplicitArrayWrapper<TResult>;
|
||||
}
|
||||
|
||||
/*********
|
||||
/* *******
|
||||
* Chain *
|
||||
*********/
|
||||
|
||||
@@ -6050,7 +6050,7 @@ declare module _ {
|
||||
valueOf(): T;
|
||||
}
|
||||
|
||||
/**************
|
||||
/* ************
|
||||
* Collection *
|
||||
**************/
|
||||
|
||||
@@ -9636,7 +9636,7 @@ declare module _ {
|
||||
): LoDashExplicitArrayWrapper<T>;
|
||||
}
|
||||
|
||||
/********
|
||||
/* ******
|
||||
* Date *
|
||||
********/
|
||||
|
||||
@@ -9664,7 +9664,7 @@ declare module _ {
|
||||
now(): LoDashExplicitWrapper<number>;
|
||||
}
|
||||
|
||||
/*************
|
||||
/* ***********
|
||||
* Functions *
|
||||
*************/
|
||||
|
||||
@@ -10934,7 +10934,7 @@ declare module _ {
|
||||
wrap<R extends Function>(wrapper: Function): LoDashExplicitObjectWrapper<R>;
|
||||
}
|
||||
|
||||
/********
|
||||
/* ******
|
||||
* Lang *
|
||||
********/
|
||||
|
||||
@@ -12971,7 +12971,7 @@ declare module _ {
|
||||
toString(value: any): string;
|
||||
}
|
||||
|
||||
/********
|
||||
/* ******
|
||||
* Math *
|
||||
********/
|
||||
|
||||
@@ -13580,7 +13580,7 @@ declare module _ {
|
||||
sumBy(iteratee: Dictionary<{}>): LoDashExplicitWrapper<number>;
|
||||
}
|
||||
|
||||
/**********
|
||||
/* ********
|
||||
* Number *
|
||||
**********/
|
||||
|
||||
@@ -13790,7 +13790,7 @@ declare module _ {
|
||||
random(floating?: boolean): LoDashExplicitWrapper<number>;
|
||||
}
|
||||
|
||||
/**********
|
||||
/* ********
|
||||
* Object *
|
||||
**********/
|
||||
|
||||
@@ -17121,7 +17121,7 @@ declare module _ {
|
||||
valuesIn<T>(): LoDashExplicitArrayWrapper<T>;
|
||||
}
|
||||
|
||||
/**********
|
||||
/* ********
|
||||
* String *
|
||||
**********/
|
||||
|
||||
@@ -18115,7 +18115,7 @@ declare module _ {
|
||||
words(pattern?: string|RegExp): LoDashExplicitArrayWrapper<string>;
|
||||
}
|
||||
|
||||
/***********
|
||||
/* *********
|
||||
* Utility *
|
||||
***********/
|
||||
|
||||
|
||||
2
magicsuggest/index.d.ts
vendored
2
magicsuggest/index.d.ts
vendored
@@ -13,7 +13,7 @@ interface JQuery {
|
||||
|
||||
declare namespace MagicSuggest {
|
||||
interface Configuration {
|
||||
/********** CONFIGURATION PROPERTIES ************/
|
||||
/* ******** CONFIGURATION PROPERTIES ************/
|
||||
/**
|
||||
* Restricts or allows the user to validate typed entries.
|
||||
* Defaults to true.
|
||||
|
||||
17
node/index.d.ts
vendored
17
node/index.d.ts
vendored
@@ -3,11 +3,11 @@
|
||||
// Definitions by: Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/************************************************
|
||||
/*==============================================*
|
||||
* *
|
||||
* Node.js v6.x API *
|
||||
* *
|
||||
************************************************/
|
||||
*===============================================*/
|
||||
|
||||
// This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build
|
||||
interface Console {
|
||||
@@ -36,11 +36,12 @@ interface WeakMapConstructor { }
|
||||
interface SetConstructor { }
|
||||
interface WeakSetConstructor { }
|
||||
|
||||
/************************************************
|
||||
/*==============================================*
|
||||
* *
|
||||
* GLOBAL *
|
||||
* *
|
||||
************************************************/
|
||||
*===============================================*/
|
||||
|
||||
declare var process: NodeJS.Process;
|
||||
declare var global: NodeJS.Global;
|
||||
declare var console: Console;
|
||||
@@ -237,7 +238,7 @@ declare var Buffer: {
|
||||
allocUnsafeSlow(size: number): Buffer;
|
||||
};
|
||||
|
||||
/************************************************
|
||||
/* **********************************************
|
||||
* *
|
||||
* GLOBAL INTERFACES *
|
||||
* *
|
||||
@@ -1892,7 +1893,7 @@ declare module "tls" {
|
||||
export class TLSSocket extends stream.Duplex {
|
||||
/**
|
||||
* Returns the bound address, the address family name and port of the underlying socket as reported by
|
||||
* the operating system.
|
||||
* the operating system.
|
||||
* @returns {any} - An object with three properties, e.g. { port: 12346, family: 'IPv4', address: '127.0.0.1' }.
|
||||
*/
|
||||
address(): { port: number; family: string; address: string };
|
||||
@@ -1969,7 +1970,7 @@ declare module "tls" {
|
||||
remotePort: number;
|
||||
/**
|
||||
* Initiate TLS renegotiation process.
|
||||
*
|
||||
*
|
||||
* NOTE: Can be used to request peer's certificate after the secure connection has been established.
|
||||
* ANOTHER NOTE: When running as the server, socket will be destroyed with an error after handshakeTimeout timeout.
|
||||
* @param {TlsOptions} options - The options may contain the following fields: rejectUnauthorized,
|
||||
@@ -1990,7 +1991,7 @@ declare module "tls" {
|
||||
*/
|
||||
setMaxSendFragment(size: number): boolean;
|
||||
}
|
||||
|
||||
|
||||
export interface TlsOptions {
|
||||
host?: string;
|
||||
port?: number;
|
||||
|
||||
6
underscore-ko/index.d.ts
vendored
6
underscore-ko/index.d.ts
vendored
@@ -9,7 +9,7 @@ import * as _ from 'underscore';
|
||||
|
||||
interface KnockoutObservableArrayFunctions<T> {
|
||||
|
||||
/****
|
||||
/* **
|
||||
Collections
|
||||
*****/
|
||||
each<TResult>(iterator: _.ListIterator<T, TResult>, context?: any): TResult[];
|
||||
@@ -71,7 +71,7 @@ interface KnockoutObservableArrayFunctions<T> {
|
||||
shuffle_(): T[];
|
||||
size(): number;
|
||||
|
||||
/****
|
||||
/* **
|
||||
Arrays
|
||||
*****/
|
||||
first(): T;
|
||||
@@ -121,7 +121,7 @@ interface KnockoutObservableArrayFunctions<T> {
|
||||
range(stop: number): any[];
|
||||
range(start: number, stop: number, step?: number): any[];
|
||||
|
||||
/****
|
||||
/* **
|
||||
Chaining
|
||||
*****/
|
||||
chain(object: any): any;
|
||||
|
||||
24
underscore/index.d.ts
vendored
24
underscore/index.d.ts
vendored
@@ -721,7 +721,7 @@ declare module _ {
|
||||
iterator: _.ListIterator<T, boolean>,
|
||||
context?: any): T[][];
|
||||
|
||||
/*********
|
||||
/* *******
|
||||
* Arrays *
|
||||
**********/
|
||||
|
||||
@@ -1059,7 +1059,7 @@ declare module _ {
|
||||
**/
|
||||
range(stop: number): number[];
|
||||
|
||||
/*************
|
||||
/* ***********
|
||||
* Functions *
|
||||
*************/
|
||||
|
||||
@@ -3517,7 +3517,7 @@ declare module _ {
|
||||
**/
|
||||
compose(...functions: Function[]): Function;
|
||||
|
||||
/**********
|
||||
/* ********
|
||||
* Objects *
|
||||
***********/
|
||||
|
||||
@@ -4315,7 +4315,7 @@ declare module _ {
|
||||
**/
|
||||
size(): number;
|
||||
|
||||
/*********
|
||||
/* *******
|
||||
* Arrays *
|
||||
**********/
|
||||
|
||||
@@ -4610,7 +4610,7 @@ declare module _ {
|
||||
**/
|
||||
compose(...functions: Function[]): Function;
|
||||
|
||||
/********* *
|
||||
/* ******* *
|
||||
* Objects *
|
||||
********** */
|
||||
|
||||
@@ -4827,7 +4827,7 @@ declare module _ {
|
||||
**/
|
||||
isUndefined(): boolean;
|
||||
|
||||
/********* *
|
||||
/* ******* *
|
||||
* Utility *
|
||||
********** */
|
||||
|
||||
@@ -4908,7 +4908,7 @@ declare module _ {
|
||||
**/
|
||||
template(settings?: _.TemplateSettings): (...data: any[]) => string;
|
||||
|
||||
/********** *
|
||||
/* ******** *
|
||||
* Chaining *
|
||||
*********** */
|
||||
|
||||
@@ -5233,7 +5233,7 @@ declare module _ {
|
||||
**/
|
||||
size(): _ChainSingle<number>;
|
||||
|
||||
/*********
|
||||
/* *******
|
||||
* Arrays *
|
||||
**********/
|
||||
|
||||
@@ -5528,7 +5528,7 @@ declare module _ {
|
||||
**/
|
||||
compose(...functions: Function[]): _Chain<T>;
|
||||
|
||||
/********* *
|
||||
/* ******* *
|
||||
* Objects *
|
||||
********** */
|
||||
|
||||
@@ -5745,7 +5745,7 @@ declare module _ {
|
||||
**/
|
||||
isUndefined(): _Chain<T>;
|
||||
|
||||
/********* *
|
||||
/* ******* *
|
||||
* Utility *
|
||||
********** */
|
||||
|
||||
@@ -5826,7 +5826,7 @@ declare module _ {
|
||||
**/
|
||||
template(settings?: _.TemplateSettings): (...data: any[]) => _Chain<T>;
|
||||
|
||||
/************* *
|
||||
/* *********** *
|
||||
* Array proxy *
|
||||
************** */
|
||||
|
||||
@@ -5907,7 +5907,7 @@ declare module _ {
|
||||
**/
|
||||
unshift(...items: Array<T>): _Chain<T>;
|
||||
|
||||
/********** *
|
||||
/* ******** *
|
||||
* Chaining *
|
||||
*********** */
|
||||
|
||||
|
||||
2
validator/index.d.ts
vendored
2
validator/index.d.ts
vendored
@@ -6,7 +6,7 @@
|
||||
declare namespace ValidatorJS {
|
||||
interface ValidatorStatic {
|
||||
|
||||
/**************
|
||||
/* ************
|
||||
* Validators *
|
||||
**************/
|
||||
|
||||
|
||||
7660
yfiles/index.d.ts
vendored
7660
yfiles/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user