Merge remote-tracking branch 'DefinitelyTyped/master'

This commit is contained in:
Oleg Solomka
2017-01-27 11:37:22 -06:00
356 changed files with 7487 additions and 578 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
- [ ] I tried using the latest `xxxx/xxxx.d.ts` file in this repo and had problems.
- [ ] I tried using the `@types/xxxx` package and had problems.
- [ ] I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript
- [ ] I have a question that is inappropriate for [StackOverflow](https://stackoverflow.com/). (Please ask any appropriate questions there).
- [ ] I want to talk about `xxxx/xxxx.d.ts`.
- The authors of that type definition are cc/ @....
- [ ] [Mention](https://github.com/blog/821-mention-somebody-they-re-notified) the authors (see `Definitions by:` in `index.d.ts`) so they can respond.
- Authors: @....
@@ -7,6 +7,7 @@ testApp.config((
$buttonConfig: ng.ui.bootstrap.IButtonConfig,
$datepickerConfig: ng.ui.bootstrap.IDatepickerConfig,
$datepickerPopupConfig: ng.ui.bootstrap.IDatepickerPopupConfig,
$dropdownConfig: ng.ui.bootstrap.IDropdownConfig,
$modalProvider: ng.ui.bootstrap.IModalProvider,
$paginationConfig: ng.ui.bootstrap.IPaginationConfig,
$pagerConfig: ng.ui.bootstrap.IPagerConfig,
@@ -47,13 +48,18 @@ testApp.config((
$datepickerConfig.showWeeks = false;
$datepickerConfig.startingDay = 1;
$datepickerConfig.yearRange = 10;
$datepickerConfig.monthColumns = 3;
$datepickerConfig.yearColumns = 9;
$datepickerConfig.yearRows = 6;
$datepickerConfig.ngModelOptions.allowInvalid = false;
$datepickerConfig.ngModelOptions.timezone = "EST";
$datepickerConfig.ngModelOptions.updateOn = "click";
/**
* $datepickerPopupConfig tests
*/
$datepickerPopupConfig.altInputFormats = ["mm/dd/YYYY", "mm-dd-YY"];
$datepickerPopupConfig.appendToBody = true;
$datepickerPopupConfig.currentText = 'Select Today';
$datepickerPopupConfig.clearText = 'Reset Selection';
@@ -63,8 +69,18 @@ testApp.config((
$datepickerPopupConfig.datepickerPopupTemplateUrl = 'template.html';
$datepickerPopupConfig.datepickerTemplateUrl = 'template.html';
$datepickerPopupConfig.html5Types.date = 'MM-dd-yyyy';
$datepickerPopupConfig.html5Types['datetime-local'] = 'yyyy-MM-ddTHH:mm:ss.sss';
$datepickerPopupConfig.html5Types.month = 'yyyy-MM';
$datepickerPopupConfig.onOpenFocus = false;
$datepickerPopupConfig.showButtonBar = false;
$datepickerPopupConfig.placement = "auto bottom left";
/**
* $dropdownConfig tests
*/
$dropdownConfig.appendToOpenClass = "some-thing";
$dropdownConfig.openClass = "show";
/**
@@ -77,6 +93,7 @@ testApp.config((
* $paginationConfig tests
*/
$paginationConfig.boundaryLinks = true;
$paginationConfig.boundaryLinkNumbers = true;
$paginationConfig.directionLinks = false;
$paginationConfig.firstText = 'First Page';
$paginationConfig.itemsPerPage = 25;
@@ -88,6 +105,7 @@ testApp.config((
$paginationConfig.rotate = false;
$paginationConfig.templateUrl = 'template.html';
$paginationConfig.totalItems = 13;
$paginationConfig.forceEllipses = true;
/**
@@ -121,11 +139,14 @@ testApp.config((
$timepickerConfig.hourStep = 2;
$timepickerConfig.meridians = ['-AM-', '-PM-'];
$timepickerConfig.minuteStep = 5;
$timepickerConfig.secondStep = 5;
$timepickerConfig.mousewheel = false;
$timepickerConfig.readonlyInput = true;
$timepickerConfig.showMeridian = false;
$timepickerConfig.arrowkeys = false;
$timepickerConfig.showSpinners = false;
$timepickerConfig.showSeconds = true;
$timepickerConfig.templateUrl = "template.html";
/**
* $tooltipProvider tests
+95
View File
@@ -11,6 +11,7 @@ export type IAccordionConfig = angular.ui.bootstrap.IAccordionConfig;
export type IButtonConfig = angular.ui.bootstrap.IButtonConfig;
export type IDatepickerConfig = angular.ui.bootstrap.IDatepickerConfig;
export type IDatepickerPopupConfig = angular.ui.bootstrap.IDatepickerPopupConfig;
export type IDropdownConfig = angular.ui.bootstrap.IDropdownConfig;
export type IModalProvider = angular.ui.bootstrap.IModalProvider;
export type IModalService = angular.ui.bootstrap.IModalService;
export type IModalServiceInstance = angular.ui.bootstrap.IModalServiceInstance;
@@ -54,6 +55,11 @@ declare module 'angular' {
toggleEvent?: string;
}
interface IDropdownConfigNgOptions extends angular.INgModelOptions {
allowInvalid?: boolean;
timezone?: string;
}
interface IDatepickerConfig {
/**
* Format of day in month.
@@ -166,9 +172,45 @@ declare module 'angular' {
* @default false
*/
shortcutPropagation?: boolean;
/**
* The number of columns displayed in month selection.
*
* @default 3
*/
monthColumns?: number;
/**
* The number of columns displayed in year selection.
*
* @default 5
*/
yearColumns?: number;
/**
* The number of rows displayed in year selection
*
* @default 4
*/
yearRows?: number;
/**
* All supported angular ngModelOptions plus some
*
* @default {}
*/
ngModelOptions?: IDropdownConfigNgOptions
}
interface IDatepickerPopupConfig {
/**
* A list of alternate formats acceptable for manual entry.
*
* @default []
*/
altInputFormats?: string[];
/**
* The format for displayed dates.
*
@@ -247,8 +289,26 @@ declare module 'angular' {
* @default true
*/
onOpenFocus?: boolean;
/**
* Passing in 'auto' separated by a space before the placement will enable auto positioning, e.g: "auto bottom-left". The popup will attempt to position where it fits in the closest scrollable ancestor.
*
* @default 'auto bottom-left'
*/
placement?: string;
}
interface IDropdownConfig {
/**
* @default: 'uib-dropdown-open'
*/
appendToOpenClass?: string;
/**
* @default: 'open'
*/
openClass?: string;
}
interface IModalProvider {
/**
@@ -543,6 +603,13 @@ declare module 'angular' {
*/
boundaryLinks?: boolean;
/**
* Whether to always display the first and last page numbers. If max-size is smaller than the number of pages, then the first and last page numbers are still shown with ellipses in-between as necessary. NOTE: max-size refers to the center of the range. This option may add up to 2 more numbers on each side of the displayed range for the end value and what would be an ellipsis but is replaced by a number because it is sequential.
*
* @default false
*/
boundaryLinkNumbers?: boolean;
/**
* Text for First button.
*
@@ -563,6 +630,13 @@ declare module 'angular' {
* @default 'template/pagination/pagination.html'
*/
templateUrl?: string;
/**
* Also displays ellipses when rotate is true and max-size is smaller than the number of pages.
*
* @default false
*/
forceEllipses?: boolean;
}
interface IPagerConfig {
@@ -679,6 +753,13 @@ declare module 'angular' {
*/
minuteStep?: number;
/**
* Number of seconds to increase or decrease when using a button.
*
* @default 1
*/
secondStep?: number;
/**
* Whether to display 12H or 24H mode.
*
@@ -720,6 +801,20 @@ declare module 'angular' {
* @default true
*/
showSpinners?: boolean;
/**
* Show seconds input.
*
* @default false
*/
showSeconds?: boolean;
/**
* Add the ability to override the template used on the component.
*
* @default 'uib/template/timepicker/timepicker.html'
*/
templateUrl?: string;
}
+18
View File
@@ -8,3 +8,21 @@ autosize(document.querySelector('textarea'));
// from a single element
autosize(document.getElementById('my-textarea'));
// update a NodeList
autosize.update(document.querySelectorAll('textarea'));
// update a single Node
autosize.update(document.querySelector('textarea'));
// update a single element
autosize.update(document.getElementById('my-textarea'));
// destroy a NodeList
autosize.destroy(document.querySelectorAll('textarea'));
// destroy a single Node
autosize.destroy(document.querySelector('textarea'));
// destroy a single element
autosize.destroy(document.getElementById('my-textarea'));
+5 -1
View File
@@ -1,12 +1,16 @@
// Type definitions for jquery.autosize 3.0.7
// Project: http://www.jacklmoore.com/autosize/
// Definitions by: Aaron T. King <https://github.com/kingdango>
// Definitions by: Aaron T. King <https://github.com/kingdango>, keika299 <https://github.com/keika299>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace autosize {
interface AutosizeStatic {
(el: Element): void;
(el: NodeList): void;
update(el: Element): void;
update(el: NodeList): void;
destroy(el: Element): void;
destroy(el: NodeList): void;
}
}
+1
View File
@@ -2,6 +2,7 @@
// Project: http://bookshelfjs.org/
// Definitions by: Andrew Schurman <http://github.com/arcticwaters>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import Knex = require('knex');
import knex = require('knex');
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for cannon
// Type definitions for cannon 0.1
// Project: https://github.com/clark-stevenson/cannon.d.ts
// Definitions by: Clark Stevenson <https://github.com/clark-stevenson>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+2 -1
View File
@@ -10,7 +10,8 @@ declare namespace creditCardType {
interface CreditCardTypeInfo {
niceType?: string
type?: CardBrand
pattern?: RegExp
prefixPattern?: RegExp
exactPattern?: RegExp
gaps?: Array<number>
lengths?: Array<number>
code?: {
+25
View File
@@ -55,6 +55,31 @@ docDBClient.createStoredProcedure('collection', procedure, undefined, (error, re
}
});
var userDefinedFunction: docDB.UserDefinedFunction = {
id: 'udf1',
body: function () {
console.log('foo');
}
};
docDBClient.createUserDefinedFunction('collection', userDefinedFunction, undefined, (error, result) => {
if (error) {
throw new Error(error.body);
}
else {
console.log('Created function: ' + result.id);
}
});
docDBClient.queryUserDefinedFunctions('collection', "SELECT * FROM root", undefined).toArray((error, results) => {
if (error) {
throw new Error(error.body);
}
else {
console.log('Number of functions in collection: ' + results.length);
}
});
var trigger: docDB.Trigger = {
id: 'trigger-one',
body: function () {
+33
View File
@@ -154,6 +154,10 @@ interface ProcedureMeta extends AbstractMeta {
body: string;
}
/** Represents the meta data for a user-defined function. */
interface UserDefinedFunctionMeta extends AbstractMeta {
}
/** Represents the meta data for a trigger. */
interface TriggerMeta extends AbstractMeta {
body: string;
@@ -181,6 +185,13 @@ export interface Procedure extends UniqueId {
body(...params: any[]): void;
}
/** Represents a DocumentDB user-defined function. */
export interface UserDefinedFunction extends UniqueId {
/** The function representing the user-defined function. */
body(...params: any[]): void;
}
/** Represents a DocumentDB trigger. */
export interface Trigger extends UniqueId {
/** The type of the trigger. Should be either 'pre' or 'post'. */
@@ -290,6 +301,19 @@ export declare class DocumentClient {
*/
public createStoredProcedure(collectionLink: string, procedure: Procedure, options: RequestOptions, callback: RequestCallback<ProcedureMeta>): void;
/**
* Create a UserDefinedFunction.
* <p>
* DocumentDB supports JavaScript UDFs which can be used inside queries, stored procedures and triggers. <br>
* For additional details, refer to the server-side JavaScript API documentation.
* </p>
* @param collectionLink - The self-link of the collection.
* @param udf - Represents the body of the userDefinedFunction.
* @param [options] - The request options.
* @param callback - The callback for the request.
*/
public createUserDefinedFunction(collectionLink: string, udf: UserDefinedFunction, options: RequestOptions, callback: RequestCallback<UserDefinedFunctionMeta>): void;
/**
* Create a trigger.
* <p>
@@ -349,6 +373,15 @@ export declare class DocumentClient {
*/
public queryStoredProcedures(collectionLink: string, query: string | SqlQuerySpec): QueryIterator<ProcedureMeta>;
/**
* Query the user-defined functions for the collection.
* @param collectionLink - The self-link of the collection.
* @param query - A SQL query string.
* @param [options] - Represents the feed options.
* @returns - An instance of queryIterator to handle reading feed.
*/
public queryUserDefinedFunctions(collectionLink: string, query: string | SqlQuerySpec, options?: FeedOptions): QueryIterator<UserDefinedFunctionMeta>;
/**
* Query the documents for the collection.
* @param collectionLink - The self-link of the collection.
+14 -9
View File
@@ -16,10 +16,10 @@ var src = {
}
};
var tgt = {name: 'Brandon'};
var tgt = { name: 'Brandon' };
dot.copy('stuff.phone', 'wanna.haves.phone', src, tgt, [(arg: any) => {
return arg;
return arg;
}]);
dot.transfer('stuff.phone', 'wanna.haves.phone', src, tgt);
@@ -37,17 +37,17 @@ var row = {
};
dot.object(row, (arg: any) => {
return arg;
return arg;
});
dot.str('this.is.my.string', 'value', tgt);
var newObj = {
some: {
nested: {
value: 'Hi there!'
}
}
some: {
nested: {
value: 'Hi there!'
}
}
};
var val = dot.pick('some.nested.value', newObj);
@@ -62,4 +62,9 @@ val = dot.remove('some.nested.value', newObj);
// or use the alias `del`
val = dot.del('some.nested.value', newObj);
var dotWithArrow = new dot('=>');
// convert object to dot object
var result = {};
dot.dot({ test: 'something' }, result);
result = dot.dot({ test: 'something' });
var dotWithArrow = new dot('=>');
+16 -9
View File
@@ -1,4 +1,4 @@
// Type definitions for Dot-Object v1.4.1
// Type definitions for Dot-Object v1.4.2
// Project: https://github.com/rhalff/dot-object
// Definitions by: Niko Kovačič <https://github.com/nkovacic>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -6,14 +6,14 @@
declare namespace DotObject {
interface DotConstructor extends Dot {
new(separator: string): Dot;
new (separator: string): Dot;
}
interface ModifierFunctionWrapper {
(arg: any): any;
}
interface Dot {
interface Dot {
/**
*
* Copy a property from one object to another object.
@@ -34,11 +34,6 @@ declare namespace DotObject {
* Convert object to dotted-key/value pair
*
* Usage:
*
* var tgt = dot.dot(obj)
*
* or
*
* var tgt = {}
* dot.dot(obj, tgt)
*
@@ -46,6 +41,18 @@ declare namespace DotObject {
* @param {Object} tgt target object
*/
dot(obj: any, tgt: any): void
/**
*
* Convert object to dotted-key/value pair
*
* Usage:
*
* var tgt = dot.dot(obj)
* @param {Object} obj source object
* @return {Object} result
*/
dot(obj: any): any
/**
*
* Remove value from an object using dot notation.
@@ -166,4 +173,4 @@ declare var dot: DotObject.DotConstructor;
declare module 'dot-object' {
export = dot;
}
}
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for hapi 13.0.0
// Type definitions for hapi 16.0.0
// Project: http://github.com/spumko/hapi
// Definitions by: Jason Swearingen <http://github.com/jasonswearingen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -1206,7 +1206,7 @@ export class Request extends Events.EventEmitter {
/** the raw request headers (references request.raw.headers).*/
headers: IDictionary<string>;
/** a unique request identifier (using the format '{now}:{connection.info.id}:{5 digits counter}').*/
id: number;
id: string;
/** request information */
info: {
/** the request preferred encoding. */
+1 -1
View File
@@ -39,7 +39,7 @@ interface HtmlToTextOptions {
* Defines after how many chars a line break should follow in p elements.
* Set to null or false to disable word-wrapping. Default: 80
*/
wordwrap?: number;
wordwrap?: number | false | null;
/**
* Allows to select certain tables by the class or id attribute from the HTML
+1
View File
@@ -26,6 +26,7 @@ console.log(err.message);
console.log(err.status);
console.log(err.statusCode);
console.log(err.expose);
console.log(err.headers);
// createError(status, msg)
var err = createError(404, 'LOL');
+3
View File
@@ -11,6 +11,9 @@ declare module 'http-errors' {
status: number;
statusCode: number;
expose: boolean;
headers?: {
[key: string]: string
};
}
type HttpErrorConstructor = new(msg?: string) => HttpError;
+73
View File
@@ -0,0 +1,73 @@
// Type definitions for jasminewd2 2.0
// Project: https://github.com/angular/jasminewd
// Definitions by: Sammy Jelin <https://github.com/sjelin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="jasmine" />
declare function it(expectation: string, assertion?: () => Promise<void>, timeout?: number): void;
declare function fit(expectation: string, assertion?: () => Promise<void>, timeout?: number): void;
declare function xit(expectation: string, assertion?: () => Promise<void>, timeout?: number): void;
declare function beforeEach(action: () => Promise<void>, timeout?: number): void;
declare function afterEach(action: () => Promise<void>, timeout?: number): void;
declare function beforeAll(action: () => Promise<void>, timeout?: number): void;
declare function afterAll(action: () => Promise<void>, timeout?: number): void;
declare namespace jasmine {
// The global `Promise` type is too strict and kinda wrong
interface Promise<T> {
then<U>(onFulfill?: (value: T) => U | Promise<U>, onReject?: (error: any) => U | Promise<U>): Promise<U>;
}
interface Matchers {
toBe(expected: any, expectationFailOutput?: any): Promise<void>;
toEqual(expected: any, expectationFailOutput?: any): Promise<void>;
toMatch(expected: string | RegExp | Promise<string | RegExp>, expectationFailOutput?: any): Promise<void>;
toBeDefined(expectationFailOutput?: any): Promise<void>;
toBeUndefined(expectationFailOutput?: any): Promise<void>;
toBeNull(expectationFailOutput?: any): Promise<void>;
toBeNaN(): Promise<void>;
toBeTruthy(expectationFailOutput?: any): Promise<void>;
toBeFalsy(expectationFailOutput?: any): Promise<void>;
toHaveBeenCalled(): Promise<void>;
toHaveBeenCalledWith(...params: any[]): Promise<void>;
toHaveBeenCalledTimes(expected: number | Promise<number>): Promise<void>;
toContain(expected: any, expectationFailOutput?: any): Promise<void>;
toBeLessThan(expected: number | Promise<number>, expectationFailOutput?: any): Promise<void>;
toBeLessThanOrEqual(expected: number | Promise<number>, expectationFailOutput?: any): Promise<void>;
toBeGreaterThan(expected: number | Promise<number>, expectationFailOutput?: any): Promise<void>;
toBeGreaterThanOrEqual(expected: number | Promise<number>, expectationFailOutput?: any): Promise<void>;
toBeCloseTo(expected: number | Promise<number>, precision?: any, expectationFailOutput?: any): Promise<void>;
toThrow(expected?: any): Promise<void>;
toThrowError(message?: string | RegExp | Promise<string | RegExp>): Promise<void>;
toThrowError(expected?: new (...args: any[]) => Error | Promise<new (...args: any[]) => Error>, message?: string | RegExp | Promise<string | RegExp>): Promise<void>;
}
function addMatchers(matchers: AsyncCustomMatcherFactories): void;
interface Env {
addMatchers(matchers: AsyncCustomMatcherFactories): void;
}
interface Spec {
addMatchers(matchers: AsyncCustomMatcherFactories): void;
}
interface AsyncCustomMatcherFactories {
[index: string]: AsyncCustomMatcherFactory;
}
interface AsyncCustomMatcherFactory {
(util: MatchersUtil, customEqualityTesters: CustomEqualityTester[]): AsyncCustomMatcher;
}
interface AsyncCustomMatcher {
compare<T>(actual: T, expected: T): AsyncCustomMatcherResult;
compare(actual: any, expected: any): AsyncCustomMatcherResult;
}
interface AsyncCustomMatcherResult {
pass: boolean | Promise<boolean>;
message?: string;
}
}
+123
View File
@@ -0,0 +1,123 @@
let promise = new Promise<void>((resolve, reject) => {
resolve();
});
describe('jasminewd', () => {
describe('global it, fit, xit, before and after', () => {
it('should be able to return promises', () => {
return promise;
});
fit('should be able to return promises', () => {
return promise;
});
xit('should be able to return promises', () => {
return promise;
});
beforeEach(() => {
return promise;
});
afterEach(() => {
return promise;
});
beforeAll(() => {
return promise;
});
afterAll(() => {
return promise;
});
});
describe('matchers', () => {
it('should work', () => {
let expectedAny: any;
let expectationFailOutputAny: any;
let expectedString: string;
let expectedNumber: number;
let expectedRegExp: RegExp;
let expectedPromiseString: Promise<string>;
let expectedPromiseNumber: Promise<number>;
let expectedPromiseRegExp: Promise<RegExp>;
let paramsAny: any[];
let error: Error;
let errorPromise: Promise<Error>;
expect(expectedAny).toBe(expectationFailOutputAny);
expect(expectedAny).toEqual(expectationFailOutputAny);
expect(expectedString).toMatch(expectationFailOutputAny);
expect(expectedRegExp).toMatch(expectationFailOutputAny);
expect(expectedPromiseString).toMatch(expectationFailOutputAny);
expect(expectedPromiseRegExp).toMatch(expectationFailOutputAny);
expect(expectationFailOutputAny).toBeDefined();
expect(expectationFailOutputAny).toBeUndefined();
expect(expectationFailOutputAny).toBeNull();
expect(expectedAny).toBeNaN();
expect(expectedAny).toBeTruthy();
expect(expectedAny).toBeFalsy();
expect(expectedAny).toHaveBeenCalled();
expect(expectedAny).toHaveBeenCalledWith(paramsAny);
expect(expectedAny).toHaveBeenCalledTimes(expectedNumber);
expect(expectedAny).toHaveBeenCalledTimes(expectedPromiseNumber);
expect(expectedAny).toContain(expectationFailOutputAny);
expect(expectedNumber).toBeLessThan(expectedNumber);
expect(expectedNumber).toBeLessThan(expectedPromiseNumber);
expect(expectedNumber).toBeLessThanOrEqual(expectedNumber);
expect(expectedNumber).toBeLessThanOrEqual(expectedPromiseNumber);
expect(expectedNumber).toBeGreaterThan(expectedNumber);
expect(expectedNumber).toBeGreaterThan(expectedPromiseNumber);
expect(expectedNumber).toBeGreaterThanOrEqual(expectedNumber);
expect(expectedNumber).toBeGreaterThanOrEqual(expectedPromiseNumber);
expect(expectedNumber).toBeCloseTo(expectedNumber, expectedNumber);
expect(expectedPromiseNumber).toBeCloseTo(expectationFailOutputAny, expectedNumber);
expect(expectedAny).toThrow(expectationFailOutputAny);
expect(expectedAny).toThrowError(expectedString);
expect(expectedAny).toThrowError(expectedRegExp);
expect(expectedAny).toThrowError(expectedPromiseString);
expect(expectedAny).toThrowError(expectedPromiseRegExp);
expect(error).toThrowError(expectedString);
expect(error).toThrowError(expectedRegExp);
expect(error).toThrowError(expectedPromiseString);
expect(error).toThrowError(expectedPromiseRegExp);
expect(error).toThrowError(expectedString);
expect(errorPromise).toThrowError(expectedString);
expect(errorPromise).toThrowError(expectedRegExp);
expect(errorPromise).toThrowError(expectedPromiseString);
expect(errorPromise).toThrowError(expectedPromiseRegExp);
expect(errorPromise).toThrowError(expectedString);
});
});
describe('jasmine matchers', () => {
it('should be able to add matchers', () => {
let matchers = {
toBeLotsMoreThan: function() {
return {
compare: function(actual: number, expected: number) {
return {
pass: actual > expected + 100
};
}
};
},
// Example custom matcher returning a promise that resolves to true/false.
toBeDisplayed: function() {
return {
compare: function(actual: any, expected: void) {
return {
pass: (actual.isDisplayed() as Promise<boolean>)
};
}
};
}
};
jasmine.addMatchers(matchers);
jasmine.getEnv().addMatchers(matchers);
jasmine.getEnv().currentSpec.addMatchers(matchers);
});
});
});
+20
View File
@@ -0,0 +1,20 @@
{
"files": [
"index.d.ts",
"jasminewd2-tests.ts"
],
"compilerOptions": {
"module": "commonjs",
"lib": [ "es6" ],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
}
}
+6
View File
@@ -0,0 +1,6 @@
{
"extends": "../tslint.json",
"rules": {
"callable-types": false
}
}
+33 -3
View File
@@ -1,12 +1,12 @@
// Type definitions for jquery.pnotify 3.x
// Project: https://github.com/sciactive/pnotify
// Definitions by: David Sichau <https://github.com/DavidSichau>
// Definitions by: David Sichau <https://github.com/DavidSichau>, Robin Maenhaut <https://github.com/FUNExtreme>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="jquery"/>
type NoticeTypeOptions = "notice" | "info" | "success" | "error";
type StylingOptions = "brighttheme" | "jqueryui" | "bootstrap2" | "bootstrap3" | "fontawesome";
type StylingOptions = "brighttheme" | "jqueryui" | "bootstrap2" | "bootstrap3" | "fontawesome" | PNotifyStyling;
type StateOptions = "initializing" | "opening" | "open" | "closing" | "closed";
interface PNotifyStack {
@@ -134,7 +134,7 @@ interface PNotifyOptions {
*/
text_escape?: boolean;
/**
* What styling classes to use. (Can be either "brighttheme", "jqueryui", "bootstrap2", "bootstrap3", or "fontawesome".)
* What styling classes to use. (Can be either "brighttheme", "jqueryui", "bootstrap2", "bootstrap3", "fontawesome" or a custom style object)
*/
styling?: StylingOptions;
/**
@@ -257,6 +257,36 @@ interface PNotifyOptions {
labels?: PNotifyLabel;
}
interface PNotifyStyling {
container?: string,
notice?: string,
notice_icon?: string,
info?: string,
info_icon?: string,
success?: string,
success_icon?: string,
error?: string,
error_icon?: string,
// buttons
closer?: string,
pin_down?: string,
pin_up?: string,
// confirm
btn?: string,
btnhover?: string,
btnactive?: string,
btnfocus?: string,
input?: string,
text?: string,
// history
hi_menu?: string,
hi_btn?: string,
hi_btnhov?: string,
hi_hnd?: string,
// reference
athing?: string
}
interface PNotify {
/**
+19
View File
@@ -243,5 +243,24 @@ function test_pnotify() {
animation: 'show'
});
new PNotify({
title: 'Custom styling',
text: 'Test all custom styling properties',
styling: {
container: "alert",
notice: "alert-warning",
notice_icon: "fa fa-exclamation-circle",
info: "alert-info",
info_icon: "fa fa-info",
success: "alert-success",
success_icon: "fa fa-check",
error: "alert-danger",
error_icon: "fa fa-warning",
closer: "fa fa-times",
pin_up: "fa fa-pause",
pin_down: "fa fa-play"
}
});
PNotify.removeAll();
}
+1 -1
View File
@@ -18307,7 +18307,7 @@ declare namespace kendo.ooxml {
cells?: WorkbookSheetRowCell[];
index?: number;
height?: number;
type?: "header" | "footer" | "groupHeader" | "groupFooter" | "data";
type?: "header" | "footer" | "group-header" | "group-footer" | "data";
}
interface WorkbookSheet {
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for keycloak-js 2.4
// Type definitions for keycloak-js 2.5
// Project: https://github.com/keycloak/keycloak
// Definitions by: Brett Epps <https://github.com/eppsilon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+39
View File
@@ -0,0 +1,39 @@
import * as Keycloak from 'keycloak-js';
export as namespace KeycloakAuthorization;
export = KeycloakAuthorization;
/**
* Creates a new Keycloak client instance.
* @param config Path to a JSON config file or a plain config object.
*/
declare function KeycloakAuthorization(keycloak: Keycloak.KeycloakInstance): KeycloakAuthorization.KeycloakAuthorizationInstance;
declare namespace KeycloakAuthorization {
export interface KeycloakAuthorizationPromise {
then(onGrant: (rpt: string) => void, onDeny: () => void, onError: () => void): void;
}
export interface KeycloakAuthorizationInstance {
rpt: any;
config: { rpt_endpoint: string };
init(): void;
/**
* This method enables client applications to better integrate with resource servers protected by a Keycloak
* policy enforcer.
*
* In this case, the resource server will respond with a 401 status code and a WWW-Authenticate header holding the
* necessary information to ask a Keycloak server for authorization data using both UMA and Entitlement protocol,
* depending on how the policy enforcer at the resource server was configured.
*/
authorize(wwwAuthenticateHeader: string): KeycloakAuthorizationPromise;
/**
* Obtains all entitlements from a Keycloak server based on a given resourceServerId.
*/
entitlement(resourceServerId: string, entitlementRequest: {}): KeycloakAuthorizationPromise;
}
}
+4
View File
@@ -11,4 +11,8 @@ import {
KeycloakResponseType
} from 'keycloak-js';
import * as KeycloakAuthorization from 'keycloak-js/keycloak-authz';
import { KeycloakAuthorizationPromise } from 'keycloak-js/keycloak-authz';
let keycloak = Keycloak();
let keycloakAuthz = KeycloakAuthorization(keycloak);
+2 -1
View File
@@ -17,6 +17,7 @@
},
"files": [
"index.d.ts",
"keycloak-authz.d.ts",
"keycloak-js-tests.ts"
]
}
}
+2 -1
View File
@@ -6,7 +6,8 @@
/// <reference types="bluebird" />
/// <reference types="node" />
import * as events from "events";
import events = require("events");
import Promise = require("bluebird");
type Callback = Function;
type Client = Function;
+3 -2
View File
@@ -1,6 +1,7 @@
"use strict";
import * as Knex from 'knex';
import * as _ from 'lodash';
import Knex = require('knex');
import Promise = require('bluebird');
import _ = require('lodash');
// Initializing the Library
var knex = Knex({
+1
View File
@@ -1397,6 +1397,7 @@ declare namespace L {
export interface MarkerOptions extends InteractiveLayerOptions {
icon?: Icon;
clickable?: boolean;
draggable?: boolean;
keyboard?: boolean;
title?: string;
+1
View File
@@ -2,6 +2,7 @@
// Project: https://github.com/steelsojka/lodash-decorators
// Definitions by: Qubo <https://github.com/tkqubo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
/// <reference types="lodash" />
+1
View File
@@ -2,3 +2,4 @@
// Project: http://lodash.com/
// Definitions by: Stephen Lautier <https://github.com/stephenlautier>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { add } from "lodash";
export = add;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { after } from "lodash";
export = after;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { ary } from "lodash";
export = ary;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { assign } from "lodash";
export = assign;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { assignIn } from "lodash";
export = assignIn;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { assignInWith } from "lodash";
export = assignInWith;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { assignWith } from "lodash";
export = assignWith;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { at } from "lodash";
export = at;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { attempt } from "lodash";
export = attempt;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { before } from "lodash";
export = before;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { bind } from "lodash";
export = bind;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { bindAll } from "lodash";
export = bindAll;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { bindKey } from "lodash";
export = bindKey;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { camelCase } from "lodash";
export = camelCase;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { capitalize } from "lodash";
export = capitalize;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { castArray } from "lodash";
export = castArray;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { ceil } from "lodash";
export = ceil;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { chunk } from "lodash";
export = chunk;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { clamp } from "lodash";
export = clamp;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { clone } from "lodash";
export = clone;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { cloneDeep } from "lodash";
export = cloneDeep;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { cloneDeepWith } from "lodash";
export = cloneDeepWith;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { cloneWith } from "lodash";
export = cloneWith;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { compact } from "lodash";
export = compact;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { concat } from "lodash";
export = concat;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { constant } from "lodash";
export = constant;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { countBy } from "lodash";
export = countBy;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { create } from "lodash";
export = create;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { curry } from "lodash";
export = curry;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { curryRight } from "lodash";
export = curryRight;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { debounce } from "lodash";
export = debounce;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { deburr } from "lodash";
export = deburr;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { defaults } from "lodash";
export = defaults;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { defaultsDeep } from "lodash";
export = defaultsDeep;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { defer } from "lodash";
export = defer;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { delay } from "lodash";
export = delay;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { difference } from "lodash";
export = difference;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { differenceBy } from "lodash";
export = differenceBy;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { differenceWith } from "lodash";
export = differenceWith;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { drop } from "lodash";
export = drop;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { dropRight } from "lodash";
export = dropRight;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { dropRightWhile } from "lodash";
export = dropRightWhile;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { dropWhile } from "lodash";
export = dropWhile;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { endsWith } from "lodash";
export = endsWith;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { eq } from "lodash";
export = eq;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { escape } from "lodash";
export = escape;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { escapeRegExp } from "lodash";
export = escapeRegExp;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { every } from "lodash";
export = every;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { fill } from "lodash";
export = fill;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { filter } from "lodash";
export = filter;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { find } from "lodash";
export = find;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { findIndex } from "lodash";
export = findIndex;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { findKey } from "lodash";
export = findKey;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { findLast } from "lodash";
export = findLast;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { findLastIndex } from "lodash";
export = findLastIndex;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { findLastKey } from "lodash";
export = findLastKey;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { first } from "lodash";
export = first;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { flatMap } from "lodash";
export = flatMap;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { flatten } from "lodash";
export = flatten;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { flattenDeep } from "lodash";
export = flattenDeep;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { flattenDepth } from "lodash";
export = flattenDepth;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { flip } from "lodash";
export = flip;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { floor } from "lodash";
export = floor;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { flow } from "lodash";
export = flow;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { flowRight } from "lodash";
export = flowRight;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { forEach } from "lodash";
export = forEach;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { forEachRight } from "lodash";
export = forEachRight;
+1
View File
@@ -2,6 +2,7 @@
// Project: http://lodash.com/
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
import { forIn } from "lodash";
export = forIn;

Some files were not shown because too many files have changed in this diff Show More