mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Fix remaining lint errors (#19166)
This commit is contained in:
parent
83230ae14e
commit
924fafffc0
6
types/ably/index.d.ts
vendored
6
types/ably/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Ably Realtime and Rest client library 0.9
|
||||
// Project: https://www.ably.io/
|
||||
// Definitions by: Ably <https://github.com/ably/>
|
||||
// Definitions by: Ably <https://github.com/ably>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export namespace ablyLib {
|
||||
@ -287,7 +287,7 @@ export namespace ablyLib {
|
||||
}
|
||||
|
||||
// Common Listeners
|
||||
type paginatedResultCallback<T> = (error: ErrorInfo, results: PaginatedResult<T> ) => void;
|
||||
type paginatedResultCallback<T> = (error: ErrorInfo, results: PaginatedResult<T>) => void;
|
||||
type standardCallback = (error: ErrorInfo, results: any) => void;
|
||||
type messageCallback<T> = (message: T) => void;
|
||||
type errorCallback = (error: ErrorInfo) => void;
|
||||
@ -410,7 +410,7 @@ export namespace ablyLib {
|
||||
state: ConnectionState;
|
||||
close: () => void;
|
||||
connect: () => void;
|
||||
ping: (callback?: (error: ErrorInfo, responseTime: number ) => void ) => void;
|
||||
ping: (callback?: (error: ErrorInfo, responseTime: number) => void) => void;
|
||||
}
|
||||
|
||||
class Stats {
|
||||
|
||||
4
types/accounting/index.d.ts
vendored
4
types/accounting/index.d.ts
vendored
@ -1,7 +1,7 @@
|
||||
// Type definitions for accounting.js 0.4
|
||||
// Project: http://openexchangerates.github.io/accounting.js/
|
||||
// Definitions by: Sergey Gerasimov <https://github.com/gerich-home/>
|
||||
// Christopher Eck <https://github.com/chrisleck/>
|
||||
// Definitions by: Sergey Gerasimov <https://github.com/gerich-home>
|
||||
// Christopher Eck <https://github.com/chrisleck>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace accounting {
|
||||
|
||||
@ -1,9 +1,14 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
// TODOs
|
||||
"align": false,
|
||||
"no-namespace": false,
|
||||
"strict-export-declare-modifiers": false,
|
||||
"no-boolean-literal-compare": false,
|
||||
"no-mergeable-namespace": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-unnecessary-qualifier": false,
|
||||
"unified-signatures": false,
|
||||
"space-before-function-paren": false
|
||||
}
|
||||
|
||||
@ -3,7 +3,7 @@ import AggregateError = require('aggregate-error');
|
||||
const err = new AggregateError([new Error('foo'), 'bar']);
|
||||
|
||||
for (const el of Array.from(err)) {
|
||||
let err: Error = el;
|
||||
const err: Error = el;
|
||||
}
|
||||
|
||||
throw err;
|
||||
|
||||
2
types/alexa-sdk/index.d.ts
vendored
2
types/alexa-sdk/index.d.ts
vendored
@ -7,7 +7,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
export function handler<T>(event: RequestBody<T>, context: Context, callback?: (err: any, response: any) => void ): AlexaObject<T>;
|
||||
export function handler<T>(event: RequestBody<T>, context: Context, callback?: (err: any, response: any) => void): AlexaObject<T>;
|
||||
export function CreateStateHandler(state: string, obj: any): any;
|
||||
export let StateString: string;
|
||||
|
||||
|
||||
2
types/amazon-product-api/index.d.ts
vendored
2
types/amazon-product-api/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for amazon-product-api
|
||||
// Project: https://github.com/t3chnoboy/amazon-product-api
|
||||
// Definitions by: Matti Lehtinen <https://github.com/MattiLehtinen/>
|
||||
// Definitions by: Matti Lehtinen <https://github.com/MattiLehtinen>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
|
||||
2
types/amplify-deferred/index.d.ts
vendored
2
types/amplify-deferred/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for AmplifyJs (using JQuery Deferred) 1.1
|
||||
// Project: http://amplifyjs.com/
|
||||
// Definitions by: Jonas Eriksson <https://github.com/joeriks/>, Laurentiu Stamate <https://github.com/laurentiustamate94>
|
||||
// Definitions by: Jonas Eriksson <https://github.com/joeriks>, Laurentiu Stamate <https://github.com/laurentiustamate94>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
@ -151,7 +151,7 @@ amplify.request.define("twitter-search", "ajax", {
|
||||
}
|
||||
});
|
||||
|
||||
amplify.request("twitter-search", { term: "amplifyjs" } );
|
||||
amplify.request("twitter-search", { term: "amplifyjs" });
|
||||
|
||||
// Similarly, we can create a request that searches for mentions, by accepting a username:
|
||||
|
||||
|
||||
2
types/amplify/index.d.ts
vendored
2
types/amplify/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for AmplifyJs 1.1
|
||||
// Project: http://amplifyjs.com/
|
||||
// Definitions by: Jonas Eriksson <https://github.com/joeriks/>
|
||||
// Definitions by: Jonas Eriksson <https://github.com/joeriks>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/amqp-rpc/index.d.ts
vendored
2
types/amqp-rpc/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for amqp-rpc v0.0.8
|
||||
// Project: https://github.com/demchenkoe/node-amqp-rpc/
|
||||
// Definitions by: Wonshik Kim <https://github.com/wokim/>
|
||||
// Definitions by: Wonshik Kim <https://github.com/wokim>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
2
types/angular-clipboard/index.d.ts
vendored
2
types/angular-clipboard/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for angular-clipboard v1.5
|
||||
// Project: https://github.com/omichelsen/angular-clipboard
|
||||
// Definitions by: Bradford Wagner <https://github.com/bradfordwagner/>
|
||||
// Definitions by: Bradford Wagner <https://github.com/bradfordwagner>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/angular-deferred-bootstrap/index.d.ts
vendored
2
types/angular-deferred-bootstrap/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for angular-deferred-bootstrap v0.1.9
|
||||
// Project: https://github.com/philippd/angular-deferred-bootstrap
|
||||
// Definitions by: Markus Wagner <https://github.com/Ritzlgrmft/>
|
||||
// Definitions by: Markus Wagner <https://github.com/Ritzlgrmft>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/angular-es/index.d.ts
vendored
2
types/angular-es/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for angular-es v0.0.3
|
||||
// Project: https://github.com/mbutsykin/angular-es
|
||||
// Definitions by: mbutsykin <https://github.com/mbutsykin/>
|
||||
// Definitions by: mbutsykin <https://github.com/mbutsykin>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module 'angular-es' {
|
||||
|
||||
2
types/angular-feature-flags/index.d.ts
vendored
2
types/angular-feature-flags/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for angular-feature-flags 1.4.0
|
||||
// Project: https://github.com/mjt01/angular-feature-flags
|
||||
// Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov/>
|
||||
// Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/angular-file-saver/index.d.ts
vendored
2
types/angular-file-saver/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for angular-file-saver 1.1
|
||||
// Project: https://github.com/alferov/angular-file-saver
|
||||
// Definitions by: Donald Nairn <https://github.com/deenairn/>
|
||||
// Definitions by: Donald Nairn <https://github.com/deenairn>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
import * as ng from "angular";
|
||||
import * as angular from "angular";
|
||||
|
||||
import gridster from "angular-gridster";
|
||||
|
||||
2
types/angular-hotkeys/index.d.ts
vendored
2
types/angular-hotkeys/index.d.ts
vendored
@ -3,7 +3,7 @@
|
||||
// Definitions by: Jason Zhao <https://github.com/jlz27>, Stefan Steinhart <https://github.com/reppners>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
//readme written by David Valentine <https://github.com/dvalenti314/>
|
||||
//readme written by David Valentine <https://github.com/dvalenti314>
|
||||
|
||||
|
||||
/// <reference types="angular" />
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
// TODOs
|
||||
"interface-name": false,
|
||||
"max-line-length": false
|
||||
"max-line-length": false,
|
||||
"no-void-expression": false
|
||||
}
|
||||
}
|
||||
2
types/angular-promise-tracker/index.d.ts
vendored
2
types/angular-promise-tracker/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for angular-promise-tracker 2.2.2
|
||||
// Project: https://github.com/ajoslin/angular-promise-tracker
|
||||
// Definitions by: Rufus Linke <https://github.com/rufusl/>
|
||||
// Definitions by: Rufus Linke <https://github.com/rufusl>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
6
types/angular-resource/index.d.ts
vendored
6
types/angular-resource/index.d.ts
vendored
@ -184,8 +184,8 @@ declare module 'angular' {
|
||||
|
||||
/** when creating a resource factory via IModule.factory */
|
||||
interface IResourceServiceFactoryFunction<T> {
|
||||
($resource: resource.IResourceService): IResourceClass<T>;
|
||||
<U extends IResourceClass<T>>($resource: resource.IResourceService): U;
|
||||
($resource: IResourceService): IResourceClass<T>;
|
||||
<U extends IResourceClass<T>>($resource: IResourceService): U;
|
||||
}
|
||||
|
||||
// IResourceServiceProvider used to configure global settings
|
||||
@ -202,7 +202,7 @@ declare module 'angular' {
|
||||
|
||||
namespace auto {
|
||||
interface IInjectorService {
|
||||
get(name: '$resource'): ng.resource.IResourceService;
|
||||
get(name: '$resource'): resource.IResourceService;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
"interface-name": false,
|
||||
"only-arrow-functions": false,
|
||||
"no-empty-interface": false,
|
||||
"no-object-literal-type-assertion": false,
|
||||
"ban-types": false,
|
||||
"space-before-function-paren": false,
|
||||
"unified-signatures": false
|
||||
|
||||
@ -14,6 +14,8 @@
|
||||
"max-line-length": false,
|
||||
"no-empty-interface": false,
|
||||
"no-namespace": false,
|
||||
"no-unnecessary-qualifier": false,
|
||||
"no-void-expression": false,
|
||||
"unified-signatures": false,
|
||||
"void-return": false
|
||||
}
|
||||
|
||||
2
types/angularlocalstorage/index.d.ts
vendored
2
types/angularlocalstorage/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for AngularLocalStorage 0.1.7
|
||||
// Project: https://github.com/agrublev/angularLocalStorage
|
||||
// Definitions by: Horiuchi_H <https://github.com/horiuchi/>
|
||||
// Definitions by: Horiuchi_H <https://github.com/horiuchi>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { Annyang, CommandOption } from 'annyang';
|
||||
|
||||
declare let annyang: Annyang;
|
||||
declare let console: any;
|
||||
declare const annyang: Annyang;
|
||||
declare const console: any;
|
||||
|
||||
// Tests based on API documentation at https://github.com/TalAter/annyang/blob/master/docs/README.md
|
||||
|
||||
@ -11,12 +11,12 @@ function testStartListening() {
|
||||
}
|
||||
|
||||
function testAddComments() {
|
||||
let helloFunction = (): string => {
|
||||
const helloFunction = (): string => {
|
||||
return 'hello';
|
||||
};
|
||||
|
||||
let commands: CommandOption = {'hello :name': helloFunction, howdy: helloFunction};
|
||||
let commands2: CommandOption = {hi: helloFunction};
|
||||
const commands: CommandOption = {'hello :name': helloFunction, howdy: helloFunction};
|
||||
const commands2: CommandOption = {hi: helloFunction};
|
||||
|
||||
annyang.addCommands(commands); // $ExpectType void
|
||||
annyang.addCommands(commands2); // $ExpectType void
|
||||
@ -26,10 +26,10 @@ function testAddComments() {
|
||||
annyang.removeCommands(['howdy', 'hi']); // $ExpectType void
|
||||
}
|
||||
|
||||
let notConnected = () => { console.error('network connection error'); };
|
||||
const notConnected = () => { console.error('network connection error'); };
|
||||
|
||||
function testAddCallback() {
|
||||
annyang.addCallback('error', () => console.error('There was an error!') ); // $ExpectType void
|
||||
annyang.addCallback('error', () => console.error('There was an error!')); // $ExpectType void
|
||||
|
||||
// $ExpectType void
|
||||
annyang.addCallback('resultMatch', (userSaid, commandText, phrases) => {
|
||||
@ -42,8 +42,8 @@ function testAddCallback() {
|
||||
}
|
||||
|
||||
function testRemoveCallback() {
|
||||
let start = () => { console.log('start'); };
|
||||
let end = () => { console.log('end'); };
|
||||
const start = () => { console.log('start'); };
|
||||
const end = () => { console.log('end'); };
|
||||
|
||||
annyang.addCallback('start', start); // $ExpectType void
|
||||
annyang.addCallback('end', end); // $ExpectType void
|
||||
|
||||
@ -1 +1,6 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"dt-header": false
|
||||
}
|
||||
}
|
||||
|
||||
10
types/applicationinsights/index.d.ts
vendored
10
types/applicationinsights/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Application Insights v0.15.12
|
||||
// Project: https://github.com/Microsoft/ApplicationInsights-node.js
|
||||
// Definitions by: Scott Southwood <https://github.com/scsouthw/>
|
||||
// Definitions by: Scott Southwood <https://github.com/scsouthw>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
interface AutoCollectConsole {
|
||||
@ -341,9 +341,9 @@ interface Client {
|
||||
trackMetric(name: string, value: number, count?:number, min?: number, max?: number, stdDev?: number, properties?: {
|
||||
[key: string]: string;
|
||||
}): void;
|
||||
|
||||
|
||||
/**
|
||||
* Log an incoming http request to your server. The request data will be tracked during the response "finish" event if it is successful or the request "error"
|
||||
* Log an incoming http request to your server. The request data will be tracked during the response "finish" event if it is successful or the request "error"
|
||||
* event if it fails. The request duration is automatically calculated as the timespan between when the trackRequest method was called, and when the response "finish"
|
||||
* or request "error" events were fired.
|
||||
* @param request The http.IncomingMessage object to track
|
||||
@ -353,7 +353,7 @@ interface Client {
|
||||
trackRequest(request: any /* http.IncomingMessage */, response: any /* http.ServerResponse */, properties?: {
|
||||
[key: string]: string;
|
||||
}): void;
|
||||
|
||||
|
||||
/**
|
||||
* Log an incoming http request to your server. The request data is tracked synchronously rather than waiting for the response "finish"" or request "error"" events.
|
||||
* Use this if you need your request telemetry to respect custom app insights operation and user context (for example if you set any appInsights.client.context.tags).
|
||||
@ -365,7 +365,7 @@ interface Client {
|
||||
*/
|
||||
trackRequestSync(request: any /*http.IncomingMessage */, response: any /*http.ServerResponse */, ellapsedMilliseconds?: number, properties?: {
|
||||
[key: string]: string;}, error?: any) : void;
|
||||
|
||||
|
||||
/**
|
||||
* Log information about a dependency of your app. Typically used to track the time database calls or outgoing http requests take from your server.
|
||||
* @param name The name of the dependency (i.e. "myDatabse")
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false
|
||||
// TODOs
|
||||
"ban-types": false,
|
||||
"dt-header": false
|
||||
}
|
||||
}
|
||||
|
||||
2
types/archy/index.d.ts
vendored
2
types/archy/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for archy
|
||||
// Project: https://github.com/substack/node-archy
|
||||
// Definitions by: vvakame <https://github.com/vvakame/>
|
||||
// Definitions by: vvakame <https://github.com/vvakame>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { Tracker, TrackerStream, TrackerGroup } from "are-we-there-yet";
|
||||
|
||||
let simple = new Tracker("simple");
|
||||
const simple = new Tracker("simple");
|
||||
simple.addListener("change", (name, completed, tracker) => {
|
||||
console.log(`name: ${name}, completed: ${completed}`);
|
||||
});
|
||||
@ -8,13 +8,13 @@ simple.addWork(10);
|
||||
simple.completeWork(1);
|
||||
console.log(simple.completed() < 1);
|
||||
|
||||
let group = new TrackerGroup("group");
|
||||
const group = new TrackerGroup("group");
|
||||
group.addUnit(simple);
|
||||
|
||||
let subgroup = group.newGroup("subgroup");
|
||||
const subgroup = group.newGroup("subgroup");
|
||||
console.log(group.completed());
|
||||
|
||||
let stream = new TrackerStream("stream", 100, { encoding: "utf8" });
|
||||
const stream = new TrackerStream("stream", 100, { encoding: "utf8" });
|
||||
subgroup.addUnit(stream);
|
||||
|
||||
stream.addListener("change", (name, completed, tracker) => {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import * as ascii2mathml from 'ascii2mathml';
|
||||
|
||||
let fn = ascii2mathml({}); // $ExpectType any
|
||||
const fn = ascii2mathml({}); // $ExpectType any
|
||||
fn(''); // $ExpectType string
|
||||
ascii2mathml('', {}); // $ExpectType string
|
||||
|
||||
|
||||
2
types/askmethat-rating/index.d.ts
vendored
2
types/askmethat-rating/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for askmethat-rating 0.3
|
||||
// Project: https://alexteixeira.github.io/Askmethat-Rating/
|
||||
// Definitions by: Alexandre Teixeira <https://github.com/AlexTeixeira/>
|
||||
// Definitions by: Alexandre Teixeira <https://github.com/AlexTeixeira>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/async-lock/index.d.ts
vendored
2
types/async-lock/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for async-lock
|
||||
// Project: https://github.com/rain1017/async-lock
|
||||
// Definitions by: Elisée MAURER <https://github.com/elisee/>
|
||||
// Definitions by: Elisée MAURER <https://github.com/elisee>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
|
||||
2
types/async-polling/index.d.ts
vendored
2
types/async-polling/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for AsyncPolling
|
||||
// Project: https://github.com/cGuille/async-polling
|
||||
// Definitions by: Zlatko Andonovski <https://github.com/Goldsmith42/>
|
||||
// Definitions by: Zlatko Andonovski <https://github.com/Goldsmith42>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace AsyncPolling {
|
||||
|
||||
2
types/async/index.d.ts
vendored
2
types/async/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Async 2.0.1
|
||||
// Project: https://github.com/caolan/async
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Arseniy Maximov <https://github.com/kern0>, Joe Herman <https://github.com/Penryn>, Angus Fenying <https://github.com/fenying>, Pascal Martin <https://github.com/pascalmartin>
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov>, Arseniy Maximov <https://github.com/kern0>, Joe Herman <https://github.com/Penryn>, Angus Fenying <https://github.com/fenying>, Pascal Martin <https://github.com/pascalmartin>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
interface Dictionary<T> { [key: string]: T; }
|
||||
|
||||
2
types/asyncblock/index.d.ts
vendored
2
types/asyncblock/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for asyncblock 2.1.23
|
||||
// Project: https://github.com/scriby/asyncblock
|
||||
// Definitions by: Hiroki Horiuchi <https://github.com/horiuchi/>
|
||||
// Definitions by: Hiroki Horiuchi <https://github.com/horiuchi>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
|
||||
2
types/atmosphere/index.d.ts
vendored
2
types/atmosphere/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Atmosphere v2.1.5
|
||||
// Project: https://github.com/Atmosphere/atmosphere-javascript
|
||||
// Definitions by: Kai Toedter <https://github.com/toedter/>
|
||||
// Definitions by: Kai Toedter <https://github.com/toedter>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace Atmosphere {
|
||||
|
||||
2
types/atom-keymap/index.d.ts
vendored
2
types/atom-keymap/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for atom-keymap v5.1.5
|
||||
// Project: https://github.com/atom/atom-keymap/
|
||||
// Definitions by: Vadim Macagon <https://github.com/enlight/>
|
||||
// Definitions by: Vadim Macagon <https://github.com/enlight>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="event-kit" />
|
||||
|
||||
2
types/atom/index.d.ts
vendored
2
types/atom/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Atom
|
||||
// Project: https://atom.io/
|
||||
// Definitions by: vvakame <https://github.com/vvakame/>
|
||||
// Definitions by: vvakame <https://github.com/vvakame>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/auth0-lock/index.d.ts
vendored
2
types/auth0-lock/index.d.ts
vendored
@ -155,7 +155,7 @@ interface Auth0LockStatic {
|
||||
getProfile(token: string, callback: (error: auth0.Auth0Error, profile: auth0.Auth0UserProfile) => void): void;
|
||||
getUserInfo(token: string, callback: (error: auth0.Auth0Error, profile: auth0.Auth0UserProfile) => void): void;
|
||||
// https://github.com/auth0/lock#resumeauthhash-callback
|
||||
resumeAuth( hash: string, callback: (error: auth0.Auth0Error, authResult: AuthResult) => void): void;
|
||||
resumeAuth(hash: string, callback: (error: auth0.Auth0Error, authResult: AuthResult) => void): void;
|
||||
show(options?: Auth0LockShowOptions): void;
|
||||
hide(): void;
|
||||
logout(query: any): void;
|
||||
|
||||
2
types/autobahn/index.d.ts
vendored
2
types/autobahn/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for AutobahnJS v0.9.7
|
||||
// Project: http://autobahn.ws/js/
|
||||
// Definitions by: Elad Zelingher <https://github.com/darkl/>, Andy Hawkins <https://github.com/a904guy/,http://a904guy.com/,http://www.bmbsqd.com>, Wladimir Totino <https://github.com/valepu>
|
||||
// Definitions by: Elad Zelingher <https://github.com/darkl>, Andy Hawkins <https://github.com/a904guy/,http://a904guy.com/,http://www.bmbsqd.com>, Wladimir Totino <https://github.com/valepu>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="when" />
|
||||
|
||||
2
types/autobind-decorator/index.d.ts
vendored
2
types/autobind-decorator/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for autobind-decorator v1.3.3
|
||||
// Project: https://github.com/andreypopp/autobind-decorator
|
||||
// Definitions by: Ivo Stratev <https://github.com/NoHomey/>
|
||||
// Definitions by: Ivo Stratev <https://github.com/NoHomey>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module 'autobind-decorator' {
|
||||
|
||||
2
types/awesomplete/index.d.ts
vendored
2
types/awesomplete/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Awesomplete 1.1
|
||||
// Project: https://leaverou.github.io/awesomplete/
|
||||
// Definitions by: webbiesdk <https://github.com/webbiesdk/>, Ben Dixon <https://github.com/bmdixon/>, Trevor Bekolay <https://github.com/tbekolay/>
|
||||
// Definitions by: webbiesdk <https://github.com/webbiesdk>, Ben Dixon <https://github.com/bmdixon>, Trevor Bekolay <https://github.com/tbekolay>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare class Awesomplete {
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json"
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
// TODO
|
||||
"dt-header": false
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// Type definitions for Microsoft Windows AzureMobile Service 1.0.0
|
||||
// Project: http://www.windowsazure.com/en-us/develop/mobile/
|
||||
// Definitions by: Morosinotto Daniele <https://github.com/dmorosinotto/>
|
||||
// Definitions by: Morosinotto Daniele <https://github.com/dmorosinotto>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace Microsoft.WindowsAzure {
|
||||
|
||||
2
types/azure-sb/index.d.ts
vendored
2
types/azure-sb/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for azure-sb
|
||||
// Project: https://github.com/Azure/azure-sdk-for-node/tree/master/lib/services/serviceBus
|
||||
// Definitions by: Microsoft Azure <https://github.com/Azure/>
|
||||
// Definitions by: Microsoft Azure <https://github.com/Azure>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace Azure.ServiceBus {
|
||||
|
||||
@ -8,7 +8,7 @@ result.map; // Sourcemap
|
||||
result.ast; // AST
|
||||
|
||||
// Examples from http://babeljs.io/docs/usage/api/
|
||||
let options: babel.TransformOptions = {
|
||||
const options: babel.TransformOptions = {
|
||||
plugins: [
|
||||
"es2015-arrow-functions",
|
||||
"es2015-block-scoped-functions",
|
||||
|
||||
2
types/backbone-associations/index.d.ts
vendored
2
types/backbone-associations/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Backbone-associations 0.6.4
|
||||
// Project: https://github.com/dhruvaray/backbone-associations/
|
||||
// Definitions by: Craig Brett <https://github.com/craigbrett17/>
|
||||
// Definitions by: Craig Brett <https://github.com/craigbrett17>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/backbone-fetch-cache/index.d.ts
vendored
2
types/backbone-fetch-cache/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for backbone-fetch-cache 1.4.0
|
||||
// Project: https://github.com/madglory/backbone-fetch-cache
|
||||
// Definitions by: delphinus <https://github.com/delphinus35/>
|
||||
// Definitions by: delphinus <https://github.com/delphinus35>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/backbone-relational/index.d.ts
vendored
2
types/backbone-relational/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Backbone-relational 0.8.5
|
||||
// Project: http://backbonerelational.org/
|
||||
// Definitions by: Eirik Hoem <https://github.com/eirikhm/>
|
||||
// Definitions by: Eirik Hoem <https://github.com/eirikhm>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/backbone.layoutmanager/index.d.ts
vendored
2
types/backbone.layoutmanager/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Backbone.LayoutManager 0.9.5
|
||||
// Project: http://layoutmanager.org/
|
||||
// Definitions by: He Jiang <https://github.com/hejiang2000/>
|
||||
// Definitions by: He Jiang <https://github.com/hejiang2000>
|
||||
// Definitions: https://github.com/hejiang2000/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/backbone.localstorage/index.d.ts
vendored
2
types/backbone.localstorage/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for backbone.localStorage 1.0.0
|
||||
// Project: https://github.com/jeromegn/Backbone.localStorage
|
||||
// Definitions by: Louis Grignon <https://github.com/lgrignon/>
|
||||
// Definitions by: Louis Grignon <https://github.com/lgrignon>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/backbone.paginator/index.d.ts
vendored
2
types/backbone.paginator/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for backbone.paginator 2.0.2
|
||||
// Project: https://github.com/backbone-paginator/backbone.paginator
|
||||
// Definitions by: Nyamazing <https://github.com/Nyamazing/>
|
||||
// Definitions by: Nyamazing <https://github.com/Nyamazing>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/backbone.radio/index.d.ts
vendored
2
types/backbone.radio/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Backbone.Radio v0.8.3
|
||||
// Project: https://github.com/marionettejs/backbone.radio
|
||||
// Definitions by: Peter Palotas <https://github.com/alphaleonis/>
|
||||
// Definitions by: Peter Palotas <https://github.com/alphaleonis>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/backbone/index.d.ts
vendored
2
types/backbone/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Backbone 1.3.3
|
||||
// Project: http://backbonejs.org/
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Natan Vivo <https://github.com/nvivo/>
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov>, Natan Vivo <https://github.com/nvivo>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/backgrid/index.d.ts
vendored
2
types/backgrid/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Backgrid 0.2.6
|
||||
// Project: http://backgridjs.com/
|
||||
// Definitions by: Jeremy Lujan <https://github.com/jlujan/>
|
||||
// Definitions by: Jeremy Lujan <https://github.com/jlujan>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/basic-auth/index.d.ts
vendored
2
types/basic-auth/index.d.ts
vendored
@ -19,7 +19,7 @@ declare namespace auth {
|
||||
/**
|
||||
* Parse basic auth to object.
|
||||
*/
|
||||
function parse(authorizationHeader: string): auth.BasicAuthResult | undefined;
|
||||
function parse(authorizationHeader: string): BasicAuthResult | undefined;
|
||||
}
|
||||
|
||||
export = auth;
|
||||
|
||||
2
types/bcryptjs/index.d.ts
vendored
2
types/bcryptjs/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bcryptjs v2.4.0
|
||||
// Project: https://github.com/dcodeIO/bcrypt.js
|
||||
// Definitions by: Joshua Filby <https://github.com/Joshua-F/>, Rafael Kraut <https://github.com/RafaelKr/>
|
||||
// Definitions by: Joshua Filby <https://github.com/Joshua-F/>, Rafael Kraut <https://github.com/RafaelKr>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json"
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
// TODO
|
||||
"no-duplicate-imports": false
|
||||
}
|
||||
}
|
||||
|
||||
2
types/bezier-easing/index.d.ts
vendored
2
types/bezier-easing/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bezier-easing
|
||||
// Project: https://github.com/gre/bezier-easing
|
||||
// Definitions by: brian ridley <https://github.com/ptlis/>
|
||||
// Definitions by: brian ridley <https://github.com/ptlis>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare interface Easing {
|
||||
|
||||
2
types/big.js/index.d.ts
vendored
2
types/big.js/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for big.js
|
||||
// Project: https://github.com/MikeMcl/big.js/
|
||||
// Definitions by: Steve Ognibene <https://github.com/nycdotnet/>
|
||||
// Definitions by: Steve Ognibene <https://github.com/nycdotnet>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
|
||||
2
types/bignumber.js/index.d.ts
vendored
2
types/bignumber.js/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bignumber.js 4.0
|
||||
// Project: https://github.com/MikeMcl/bignumber.js/
|
||||
// Definitions by: Viktor Smirnov <https://github.com/LaserUnicorns/>
|
||||
// Definitions by: Viktor Smirnov <https://github.com/LaserUnicorns>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.1
|
||||
|
||||
|
||||
2
types/bigscreen/index.d.ts
vendored
2
types/bigscreen/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for BigScreen 2.0.4
|
||||
// Project: http://brad.is/coding/BigScreen/
|
||||
// Definitions by: Douglas Eichelberger <https://github.com/dduugg/>
|
||||
// Definitions by: Douglas Eichelberger <https://github.com/dduugg>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export as namespace BigScreen;
|
||||
|
||||
2
types/bip21/index.d.ts
vendored
2
types/bip21/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bip21 v1.1.2
|
||||
// Project: https://github.com/bitcoinjs/bip21
|
||||
// Definitions by: Stefan Huber <https://github.com/stefanhuber/>
|
||||
// Definitions by: Stefan Huber <https://github.com/stefanhuber>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace bip21 {
|
||||
|
||||
@ -1 +1,6 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"dt-header": false
|
||||
}
|
||||
}
|
||||
|
||||
2
types/body-parser/index.d.ts
vendored
2
types/body-parser/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for body-parser 1.16
|
||||
// Project: https://github.com/expressjs/body-parser
|
||||
// Definitions by: Santi Albo <https://github.com/santialbo>, Vilic Vane <https://github.com/vilic>, Jonathan Häberle <https://github.com/dreampulse>, Gevik Babakhani <https://github.com/blendsdk/>, Tomasz Łaziuk <https://github.com/tlaziuk>
|
||||
// Definitions by: Santi Albo <https://github.com/santialbo>, Vilic Vane <https://github.com/vilic>, Jonathan Häberle <https://github.com/dreampulse>, Gevik Babakhani <https://github.com/blendsdk>, Tomasz Łaziuk <https://github.com/tlaziuk>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
2
types/bonjour/index.d.ts
vendored
2
types/bonjour/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bonjour 3.5
|
||||
// Project: https://github.com/watson/bonjour
|
||||
// Definitions by: Quentin Lampin <https://github.com/quentin-ol/>, Nicolas Voigt <https://github.com/octo-sniffle>
|
||||
// Definitions by: Quentin Lampin <https://github.com/quentin-ol>, Nicolas Voigt <https://github.com/octo-sniffle>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
2
types/bootbox/index.d.ts
vendored
2
types/bootbox/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Bootbox 4.4.0
|
||||
// Project: https://github.com/makeusabrew/bootbox
|
||||
// Definitions by: Vincent Bortone <https://github.com/vbortone/>, Kon Pik <https://github.com/konpikwastaken/>, Anup Kattel <https://github.com/kanup/>, Dominik Schroeter <https://github.com/icereed/>, Troy McKinnon <https://github.com/trodi/>, Stanny Nuytkens <https://github.com/stannynuytkens>
|
||||
// Definitions by: Vincent Bortone <https://github.com/vbortone>, Kon Pik <https://github.com/konpikwastaken>, Anup Kattel <https://github.com/kanup>, Dominik Schroeter <https://github.com/icereed>, Troy McKinnon <https://github.com/trodi>, Stanny Nuytkens <https://github.com/stannynuytkens>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/bootpag/index.d.ts
vendored
2
types/bootpag/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for jQuery-Bootpag 1.0.7
|
||||
// Project: http://botmonster.com/jquery-bootpag/
|
||||
// Definitions by: MAF.DAP / Romain Deneau <https://github.com/rdeneau/>
|
||||
// Definitions by: MAF.DAP / Romain Deneau <https://github.com/rdeneau>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/bootstrap-datepicker/index.d.ts
vendored
2
types/bootstrap-datepicker/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bootstrap-datepicker
|
||||
// Project: https://github.com/eternicode/bootstrap-datepicker
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/bootstrap-notify/index.d.ts
vendored
2
types/bootstrap-notify/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bootstrap-notify v3.1.3
|
||||
// Project: http://bootstrap-notify.remabledesigns.com/
|
||||
// Definitions by: Blake Niemyjski <https://github.com/niemyjski/>, Robert McIntosh <https://github.com/mouse0270>, Robert Voica <https://github.com/robert-voica>
|
||||
// Definitions by: Blake Niemyjski <https://github.com/niemyjski>, Robert McIntosh <https://github.com/mouse0270>, Robert Voica <https://github.com/robert-voica>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/bootstrap-table/index.d.ts
vendored
2
types/bootstrap-table/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Bootstrap Table v1.11.0
|
||||
// Project: http://bootstrap-table.wenzhixin.net.cn/
|
||||
// Definitions by: Talat Baig <https://github.com/talatbaig/>
|
||||
// Definitions by: Talat Baig <https://github.com/talatbaig>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ $('#tree').treeview({
|
||||
|
||||
// Treeview functions.
|
||||
|
||||
let nodeId: number = 5;
|
||||
let nodeId = 5;
|
||||
|
||||
let node: BootstrapTreeViewNodeData = data[0];
|
||||
|
||||
|
||||
2
types/bootstrap-validator/index.d.ts
vendored
2
types/bootstrap-validator/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bootstrap-validator 0.11
|
||||
// Project: https://github.com/1000hz/bootstrap-validator
|
||||
// Definitions by: Brady Liles <https://github.com/BradyLiles/>
|
||||
// Definitions by: Brady Liles <https://github.com/BradyLiles>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/bootstrap.paginator/index.d.ts
vendored
2
types/bootstrap.paginator/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bootstrap.paginator
|
||||
// Project: https://github.com/lyonlai/bootstrap-paginator
|
||||
// Definitions by: derikwhittaker <https://github.com/derikwhittaker/>
|
||||
// Definitions by: derikwhittaker <https://github.com/derikwhittaker>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/bootstrap.timepicker/index.d.ts
vendored
2
types/bootstrap.timepicker/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bootstrap.timepicker
|
||||
// Project: https://github.com/jdewit/bootstrap-timepicker
|
||||
// Definitions by: derikwhittaker <https://github.com/derikwhittaker/>
|
||||
// Definitions by: derikwhittaker <https://github.com/derikwhittaker>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/bootstrap/index.d.ts
vendored
2
types/bootstrap/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Bootstrap 3.3.5
|
||||
// Project: http://twitter.github.com/bootstrap/
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
2
types/box2d/index.d.ts
vendored
2
types/box2d/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bootstrap.timepicker
|
||||
// Project: http://code.google.com/p/box2dweb/
|
||||
// Definitions by: jbaldwin <https://github.com/jbaldwin/>
|
||||
// Definitions by: jbaldwin <https://github.com/jbaldwin>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/**
|
||||
|
||||
2
types/breeze/index.d.ts
vendored
2
types/breeze/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Breeze 1.6.3
|
||||
// Project: http://www.breezejs.com/
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, IdeaBlade <https://github.com/IdeaBlade/Breeze/>
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov>, IdeaBlade <https://github.com/IdeaBlade/Breeze/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
// Updated Jan 14 2011 - Jay Traband ( www.ideablade.com).
|
||||
|
||||
2
types/browser-resolve/index.d.ts
vendored
2
types/browser-resolve/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for browser-resolve
|
||||
// Project: https://github.com/defunctzombie/node-browser-resolve
|
||||
// Definitions by: Mario Nebl <https://github.com/marionebl/>
|
||||
// Definitions by: Mario Nebl <https://github.com/marionebl>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="resolve" />
|
||||
|
||||
2
types/browserify/index.d.ts
vendored
2
types/browserify/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for Browserify 12.0
|
||||
// Project: http://browserify.org/
|
||||
// Definitions by: Andrew Gaspar <https://github.com/AndrewGaspar/>, John Vilk <https://github.com/jvilk>, Leonard Thieu <https://github.com/leonard-thieu>
|
||||
// Definitions by: Andrew Gaspar <https://github.com/AndrewGaspar>, John Vilk <https://github.com/jvilk>, Leonard Thieu <https://github.com/leonard-thieu>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
2
types/bson/index.d.ts
vendored
2
types/bson/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bson 1.0.4
|
||||
// Project: https://github.com/mongodb/js-bson
|
||||
// Definitions by: Hiroki Horiuchi <https://github.com/horiuchi/>
|
||||
// Definitions by: Hiroki Horiuchi <https://github.com/horiuchi>
|
||||
// Federico Caselli <https://github.com/CaselIT>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
2
types/buffers/index.d.ts
vendored
2
types/buffers/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for buffers 0.1.1
|
||||
// Project: https://github.com/substack/node-buffers
|
||||
// Definitions by: Robert Hencke <https://github.com/rhencke/>
|
||||
// Definitions by: Robert Hencke <https://github.com/rhencke>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node"/>
|
||||
|
||||
2
types/bunyan-prettystream/index.d.ts
vendored
2
types/bunyan-prettystream/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bunyan-prettystream 0.1.3
|
||||
// Project: https://www.npmjs.com/package/bunyan-prettystream
|
||||
// Definitions by: Jason Swearingen <https://github.com/jasonswearingen/>, Vadim Macagon <https://github.com/enlight/>
|
||||
// Definitions by: Jason Swearingen <https://github.com/jasonswearingen>, Vadim Macagon <https://github.com/enlight>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
@ -126,7 +126,7 @@ class MyLogger extends Logger {
|
||||
}
|
||||
}
|
||||
|
||||
let child = log.child({ widget_type: 'wuzzle' });
|
||||
const child = log.child({ widget_type: 'wuzzle' });
|
||||
child.reopenFileStreams();
|
||||
log.addStream({ path: '/dev/null' });
|
||||
child.level(Logger.DEBUG);
|
||||
|
||||
2
types/bwip-js/index.d.ts
vendored
2
types/bwip-js/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bwip-js 1.1.1
|
||||
// Project: https://github.com/metafloor/bwip-js
|
||||
// Definitions by: TANAKA Koichi <https://github.com/MugeSo/>
|
||||
// Definitions by: TANAKA Koichi <https://github.com/MugeSo>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
2
types/bytes/index.d.ts
vendored
2
types/bytes/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for bytes v2.5.0
|
||||
// Project: https://github.com/visionmedia/bytes.js
|
||||
// Definitions by: Zhiyuan Wang <https://github.com/danny8002/>
|
||||
// Definitions by: Zhiyuan Wang <https://github.com/danny8002>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
interface BytesOptions {
|
||||
|
||||
2
types/cache-manager/index.d.ts
vendored
2
types/cache-manager/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for cache-manager v1.2.0
|
||||
// Project: https://github.com/BryanDonovan/node-cache-manager
|
||||
// Definitions by: Simon Gausmann <https://github.com/GausSim/>
|
||||
// Definitions by: Simon Gausmann <https://github.com/GausSim>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
interface CachingConfig {
|
||||
|
||||
2
types/cal-heatmap/index.d.ts
vendored
2
types/cal-heatmap/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for cal-heatmap v3.5.4
|
||||
// Project: https://github.com/wa0x6e/cal-heatmap
|
||||
// Definitions by: Chris Baker <https://github.com/RetroChrisB/>
|
||||
// Definitions by: Chris Baker <https://github.com/RetroChrisB>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import * as CanvasJS from "canvasjs";
|
||||
|
||||
// Column Chart
|
||||
let columnChart = new CanvasJS.Chart("chartContainer",
|
||||
const columnChart = new CanvasJS.Chart("chartContainer",
|
||||
{
|
||||
title: {
|
||||
text: "Top Oil Reserves",
|
||||
@ -35,7 +35,7 @@ let columnChart = new CanvasJS.Chart("chartContainer",
|
||||
]
|
||||
});
|
||||
columnChart.render();
|
||||
let option = columnChart.get("title");
|
||||
const option = columnChart.get("title");
|
||||
columnChart.print();
|
||||
columnChart.exportChart({ format: "jpg" });
|
||||
columnChart.destroy();
|
||||
@ -43,7 +43,7 @@ columnChart.axisX[0].convertPixelToValue(20);
|
||||
columnChart.toolTip.get("text");
|
||||
|
||||
// Line Chart
|
||||
let lineChart = new CanvasJS.Chart("chartContainer",
|
||||
const lineChart = new CanvasJS.Chart("chartContainer",
|
||||
{
|
||||
theme: "theme2",
|
||||
title: {
|
||||
@ -81,7 +81,7 @@ let lineChart = new CanvasJS.Chart("chartContainer",
|
||||
lineChart.render();
|
||||
|
||||
// Spline Chart
|
||||
let splineChart = new CanvasJS.Chart("chartContainer",
|
||||
const splineChart = new CanvasJS.Chart("chartContainer",
|
||||
{
|
||||
theme: "theme2",
|
||||
title: {
|
||||
@ -138,11 +138,7 @@ let splineChart = new CanvasJS.Chart("chartContainer",
|
||||
legend: {
|
||||
cursor: "pointer",
|
||||
itemclick: (e) => {
|
||||
if (typeof (e.dataSeries.visible) === "undefined" || e.dataSeries.visible) {
|
||||
e.dataSeries.visible = false;
|
||||
} else {
|
||||
e.dataSeries.visible = true;
|
||||
}
|
||||
e.dataSeries.visible = !(typeof (e.dataSeries.visible) === "undefined" || e.dataSeries.visible);
|
||||
splineChart.render();
|
||||
}
|
||||
},
|
||||
@ -150,7 +146,7 @@ let splineChart = new CanvasJS.Chart("chartContainer",
|
||||
splineChart.render();
|
||||
|
||||
// Bar Chart
|
||||
let barChart = new CanvasJS.Chart("chartContainer", {
|
||||
const barChart = new CanvasJS.Chart("chartContainer", {
|
||||
title: {
|
||||
text: "Fortune Global 500 Companies by Country"
|
||||
},
|
||||
@ -198,7 +194,7 @@ let barChart = new CanvasJS.Chart("chartContainer", {
|
||||
barChart.render();
|
||||
|
||||
// Pie Chart
|
||||
let pieChart = new CanvasJS.Chart("chartContainer",
|
||||
const pieChart = new CanvasJS.Chart("chartContainer",
|
||||
{
|
||||
title: {
|
||||
text: "Desktop Search Engine Market Share, Dec-2012"
|
||||
|
||||
2
types/capitalize/index.d.ts
vendored
2
types/capitalize/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for capitalize 1.0
|
||||
// Project: https://github.com/grncdr/js-capitalize
|
||||
// Definitions by: Frederick Fogerty <https://github.com/frederickfogerty/>
|
||||
// Definitions by: Frederick Fogerty <https://github.com/frederickfogerty>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
|
||||
@ -1 +1,7 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
// TODO
|
||||
"no-duplicate-imports": false
|
||||
}
|
||||
}
|
||||
@ -1,11 +1,8 @@
|
||||
import { expect } from 'chai';
|
||||
import { assert } from 'chai';
|
||||
|
||||
import chai = require('chai');
|
||||
import { assert, expect, use, should } from 'chai';
|
||||
import ChaiArrays = require('chai-arrays');
|
||||
|
||||
chai.use(ChaiArrays);
|
||||
chai.should();
|
||||
use(ChaiArrays);
|
||||
should();
|
||||
|
||||
const arr: any[] = [1, 2, 3];
|
||||
const str = 'abcdef';
|
||||
|
||||
2
types/chai-arrays/index.d.ts
vendored
2
types/chai-arrays/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for chai-arrays 1.0
|
||||
// Project: https://github.com/GaneshSPatil/chai-arrays
|
||||
// Definitions by: Clément Prévot <https://github.com/clementprevot/>
|
||||
// Definitions by: Clément Prévot <https://github.com/clementprevot>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="chai" />
|
||||
|
||||
2
types/chai-datetime/index.d.ts
vendored
2
types/chai-datetime/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for chai-datetime
|
||||
// Project: https://github.com/gaslight/chai-datetime.git
|
||||
// Definitions by: Cliff Burger <https://github.com/cliffburger/>
|
||||
// Definitions by: Cliff Burger <https://github.com/cliffburger>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="chai" />
|
||||
|
||||
2
types/chai-jquery/index.d.ts
vendored
2
types/chai-jquery/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for chai-jquery 1.1.1
|
||||
// Project: https://github.com/chaijs/chai-jquery
|
||||
// Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid/>
|
||||
// Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
|
||||
@ -1,11 +1,8 @@
|
||||
import { expect } from 'chai';
|
||||
import { assert } from 'chai';
|
||||
|
||||
import chai = require('chai');
|
||||
import { assert, expect, use, should, tv4 } from 'chai';
|
||||
import ChaiJsonSchema = require('chai-json-schema');
|
||||
|
||||
chai.use(ChaiJsonSchema);
|
||||
chai.should();
|
||||
use(ChaiJsonSchema);
|
||||
should();
|
||||
|
||||
const goodApple = {
|
||||
skin: 'thin',
|
||||
@ -63,5 +60,5 @@ const schema = {
|
||||
const data1 = [true, false];
|
||||
const data2 = [true, 123];
|
||||
|
||||
expect(chai.tv4.validate(data1, schema)).to.be.true;
|
||||
expect(chai.tv4.validate(data2, schema)).to.be.false;
|
||||
expect(tv4.validate(data1, schema)).to.be.true;
|
||||
expect(tv4.validate(data2, schema)).to.be.false;
|
||||
|
||||
2
types/chai-string/index.d.ts
vendored
2
types/chai-string/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for chai-string 1.1.4
|
||||
// Project: https://github.com/onechiporenko/chai-string
|
||||
// Definitions by: Nick Malaguti <https://github.com/nmalaguti/>
|
||||
// Definitions by: Nick Malaguti <https://github.com/nmalaguti>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
///<reference types="chai" />
|
||||
|
||||
2
types/chai-subset/index.d.ts
vendored
2
types/chai-subset/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for chai-subset 1.3
|
||||
// Project: https://github.com/e-conomic/chai-subset
|
||||
// Definitions by: Sam Noedel <https://github.com/delta62/>, Andrew Brown <https://github.com/AGBrown>
|
||||
// Definitions by: Sam Noedel <https://github.com/delta62>, Andrew Brown <https://github.com/AGBrown>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="chai" />
|
||||
|
||||
@ -9,7 +9,7 @@ function test_chaiXml() {
|
||||
expect('nope').xml.not.to.be.valid();
|
||||
expect(testXml).xml.to.be.valid();
|
||||
expect(testXml).xml.to.equal('<a:test attribute1="1" xmlns:a="test">\n<a:h1><a:h2>test</a:h2></a:h1></a:test>\n');
|
||||
expect(testXml).xml.to.not.equal('<nope/>' );
|
||||
expect(testXml).xml.to.not.equal('<nope/>');
|
||||
}
|
||||
|
||||
test_chaiXml();
|
||||
|
||||
2
types/chai/index.d.ts
vendored
2
types/chai/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for chai 4.0.0
|
||||
// Project: http://chaijs.com/
|
||||
// Definitions by: Jed Mao <https://github.com/jedmao/>,
|
||||
// Definitions by: Jed Mao <https://github.com/jedmao>,
|
||||
// Bart van der Schoor <https://github.com/Bartvds>,
|
||||
// Andrew Brown <https://github.com/AGBrown>,
|
||||
// Olivier Chevet <https://github.com/olivr70>,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user