type stringclasses 7
values | content stringlengths 4 9.55k | repo stringlengths 7 96 | path stringlengths 4 178 | language stringclasses 1
value |
|---|---|---|---|---|
InterfaceDeclaration |
export interface MUIDataTableViewCol {
columns: any[];
object: object;
onColumnUpdate: (...args: any) => any;
classes?: object;
} | JaceyPenny/DefinitelyTyped | types/mui-datatables/index.d.ts | TypeScript |
TypeAliasDeclaration |
export type MUIDataTableColumnDef = string | MUIDataTableColumn; | JaceyPenny/DefinitelyTyped | types/mui-datatables/index.d.ts | TypeScript |
ArrowFunction |
({ dependents }: IDependentListProps) => (
<div className={css.component}>
<Typography variant | crisu83/dpkg-ui | src/package/DependentList.tsx | TypeScript |
ArrowFunction |
name => (
<li className={css.packageName} | crisu83/dpkg-ui | src/package/DependentList.tsx | TypeScript |
InterfaceDeclaration |
interface IDependentListProps {
dependents: string[];
} | crisu83/dpkg-ui | src/package/DependentList.tsx | TypeScript |
FunctionDeclaration |
function | Library-Dev/BLibraryTest | src/qt/locale/blibrary_de.ts | TypeScript |
ArrowFunction |
(Standard: | Library-Dev/BLibraryTest | src/qt/locale/blibrary_de.ts | TypeScript |
FunctionDeclaration |
function waitForElement(selector: any /** TODO #9100 */) {
var EC = (<any>protractor).ExpectedConditions;
// Waits for the element with id 'abc' to be present on the dom.
browser.wait(EC.presenceOf($(selector)), 20000);
} | Hikariii/angular | modules/playground/e2e_test/routing/routing_spec.ts | TypeScript |
ArrowFunction |
() => {
afterEach(verifyNoBrowserErrors);
describe('index view', () => {
var URL = 'all/playground/src/routing/';
it('should list out the current collection of items', () => {
browser.get(URL);
waitForElement('.inbox-item-record');
expect(element.all(by.css('.inbox-item-record')).count... | Hikariii/angular | modules/playground/e2e_test/routing/routing_spec.ts | TypeScript |
ArrowFunction |
() => {
var URL = 'all/playground/src/routing/';
it('should list out the current collection of items', () => {
browser.get(URL);
waitForElement('.inbox-item-record');
expect(element.all(by.css('.inbox-item-record')).count()).toEqual(200);
});
} | Hikariii/angular | modules/playground/e2e_test/routing/routing_spec.ts | TypeScript |
ArrowFunction |
() => {
browser.get(URL);
waitForElement('.inbox-item-record');
expect(element.all(by.css('.inbox-item-record')).count()).toEqual(200);
} | Hikariii/angular | modules/playground/e2e_test/routing/routing_spec.ts | TypeScript |
ArrowFunction |
() => {
it('Delay 1',
Callbackify(
InSeries(
() => [ 1, 2, 3 ],
Delay(100),
Assert(
([ a, b, c ]) => (a === 1 && b === 2 && c === 3)
)
)
)
);
it('Delay 2',
Callbackify(
InSeries(
() => [ 1, 2, 3 ],
Delay(),
Assert(
([ a, b, c ]) => (a === 1 && b === 2 && c === ... | somesocks/async-patterns | src/Delay.mocha.tests.ts | TypeScript |
ArrowFunction |
() => [ 1, 2, 3 ] | somesocks/async-patterns | src/Delay.mocha.tests.ts | TypeScript |
ArrowFunction |
([ a, b, c ]) => (a === 1 && b === 2 && c === 3) | somesocks/async-patterns | src/Delay.mocha.tests.ts | TypeScript |
ArrowFunction |
() => {
const fn = savedVisualization().fn;
const args = {
id: 'some-id',
timerange: null,
colors: null,
hideLegend: null,
title: null,
};
it('accepts null context', () => {
const expression = fn(null, args, {} as any);
expect(expression.input.filters).toEqual([]);
});
it('ac... | AlexanderWert/kibana | x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts | TypeScript |
ArrowFunction |
() => {
const expression = fn(null, args, {} as any);
expect(expression.input.filters).toEqual([]);
} | AlexanderWert/kibana | x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts | TypeScript |
ArrowFunction |
() => {
const expression = fn(filterContext, args, {} as any);
const embeddableFilters = getQueryFilters(filterContext.and);
expect(expression.input.filters).toEqual(embeddableFilters);
} | AlexanderWert/kibana | x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts | TypeScript |
ArrowFunction |
() => {
const expression = fn(null, { ...args, title: '' }, {} as any);
expect(expression.input.title).toEqual('');
} | AlexanderWert/kibana | x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts | TypeScript |
ArrowFunction |
({
children,
padding = 'space60',
paddingBottom,
paddingLeft,
paddingRight,
paddingTop,
...props
}) => {
return (
<Box
{...safelySpreadBoxProps(props)}
as="article"
borderWidth="borderWidth20"
borderColor="colorBorderLight"
borderStyle="solid"
borderRadius="borde... | ctecks/paste | packages/paste-core/components/card/src/index.tsx | TypeScript |
InterfaceDeclaration |
export interface CardProps extends React.HTMLAttributes<''>, PaddingProps {} | ctecks/paste | packages/paste-core/components/card/src/index.tsx | TypeScript |
TypeAliasDeclaration |
export type Theme = typeof theme | S4n60w3n/bomponents | themes/index.ts | TypeScript |
ArrowFunction |
(locale) => {
const splitedLocale = locale.split('-');
return splitedLocale.map((value, index) => {
const localeGenerator = [];
for (let i = 0; i <= index; i++) {
localeGenerator.push(splitedLocale[i]);
}
return... | fabulator/locales-detector | src/transformers/FallbacksTransformer.ts | TypeScript |
ArrowFunction |
(value, index) => {
const localeGenerator = [];
for (let i = 0; i <= index; i++) {
localeGenerator.push(splitedLocale[i]);
}
return localeGenerator.join('-');
} | fabulator/locales-detector | src/transformers/FallbacksTransformer.ts | TypeScript |
ArrowFunction |
(a, b) => a.concat(b) | fabulator/locales-detector | src/transformers/FallbacksTransformer.ts | TypeScript |
ClassDeclaration | /**
* This transformers create fallbacks from complex locales to simpliest.
* 'en-US-east' => ['en-US-east', 'en-US', 'en']
* 'es-ES' => ['es-ES', 'es']
*/
export default class FallbacksTransformer extends Transformer {
/**
* Add fallbacks to locales. Locales should be in IETF language tag format.
*
... | fabulator/locales-detector | src/transformers/FallbacksTransformer.ts | TypeScript |
MethodDeclaration | /**
* Add fallbacks to locales. Locales should be in IETF language tag format.
*
* @param {Array<string>} locales - list of locales
* @returns {Array<string>} locales with fallbacks
*/
public transform(locales: string[]): string[] {
return locales.map((locale) => {
const spl... | fabulator/locales-detector | src/transformers/FallbacksTransformer.ts | TypeScript |
ArrowFunction |
() => {
const fetchData = async () => {
const response = await fetch(
'https://gw.alipayobjects.com/os/basement_prod/893d1d5f-11d9-45f3-8322-ee9140d288ae.json',
);
const data = await response.json();
setData(data);
};
fetchData();
} | antvis/L7 | examples/react/layer/demo/Point_image.tsx | TypeScript |
ArrowFunction |
async () => {
const response = await fetch(
'https://gw.alipayobjects.com/os/basement_prod/893d1d5f-11d9-45f3-8322-ee9140d288ae.json',
);
const data = await response.json();
setData(data);
} | antvis/L7 | examples/react/layer/demo/Point_image.tsx | TypeScript |
EnumDeclaration |
export enum Elements {
Fire,
Water
} | Nebula234/RPG-JS | tests/unit-tests/specs/fixtures/elements.ts | TypeScript |
ArrowFunction |
(id: string) =>
api.get<any>(`/pms/product-category/${id}`) | kvery/k-mall-admin | src/api/category.ts | TypeScript |
ArrowFunction |
(parentId: number, params: any) =>
api.get<any, any>(`/pms/product-category/list/${parentId}`, { params }) | kvery/k-mall-admin | src/api/category.ts | TypeScript |
ArrowFunction |
(data: any) =>
api.post<any>('/pms/product-category', data) | kvery/k-mall-admin | src/api/category.ts | TypeScript |
ArrowFunction |
(id: string, data: any) =>
api.put<any>(`/pms/product-category/${id}`, data) | kvery/k-mall-admin | src/api/category.ts | TypeScript |
ArrowFunction |
(ids: Array<string>) =>
api.delete<any>('/pms/product-category', { data: { ids } }) | kvery/k-mall-admin | src/api/category.ts | TypeScript |
ArrowFunction |
(data: any) =>
api.put<any>('/pms/product-category/show-status', data) | kvery/k-mall-admin | src/api/category.ts | TypeScript |
ArrowFunction |
(data: any) =>
api.put<any>('/pms/product-category/nav-status', data) | kvery/k-mall-admin | src/api/category.ts | TypeScript |
ArrowFunction |
() =>
api.get<any, any>('/pms/product-category/list/with-children') | kvery/k-mall-admin | src/api/category.ts | TypeScript |
ArrowFunction |
() => [Course] | marcosvcorsi/nestjs-students | src/models/student.model.ts | TypeScript |
ClassDeclaration |
@ObjectType({ description: 'student' })
export class Student {
@Field(() => ID)
id: string;
@Field()
name: string;
@Field()
email: string;
@Field()
createdAt: Date;
@Field()
updatedAt: Date;
@Field(() => [Course], { nullable: true })
courses?: Course[];
} | marcosvcorsi/nestjs-students | src/models/student.model.ts | TypeScript |
ClassDeclaration |
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class DashboardRoutingModule {} | 24wings/amis-alain | src/app/routes/dashboard/dashboard-routing.module.ts | TypeScript |
ClassDeclaration |
export class StopInstanceCommand extends $Command<
StopInstanceCommandInput,
StopInstanceCommandOutput,
LightsailClientResolvedConfig
> {
// Start section: command_properties
// End section: command_properties
constructor(readonly input: StopInstanceCommandInput) {
// Start section: command_constructo... | blakeembrey/aws-sdk-js-v3 | clients/client-lightsail/commands/StopInstanceCommand.ts | TypeScript |
TypeAliasDeclaration |
export type StopInstanceCommandInput = StopInstanceRequest; | blakeembrey/aws-sdk-js-v3 | clients/client-lightsail/commands/StopInstanceCommand.ts | TypeScript |
TypeAliasDeclaration |
export type StopInstanceCommandOutput = StopInstanceResult & __MetadataBearer; | blakeembrey/aws-sdk-js-v3 | clients/client-lightsail/commands/StopInstanceCommand.ts | TypeScript |
MethodDeclaration |
resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: LightsailClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<StopInstanceCommandInput, StopInstanceCommandOutput> {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize,... | blakeembrey/aws-sdk-js-v3 | clients/client-lightsail/commands/StopInstanceCommand.ts | TypeScript |
MethodDeclaration |
private serialize(input: StopInstanceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_json1_1StopInstanceCommand(input, context);
} | blakeembrey/aws-sdk-js-v3 | clients/client-lightsail/commands/StopInstanceCommand.ts | TypeScript |
MethodDeclaration |
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StopInstanceCommandOutput> {
return deserializeAws_json1_1StopInstanceCommand(output, context);
} | blakeembrey/aws-sdk-js-v3 | clients/client-lightsail/commands/StopInstanceCommand.ts | TypeScript |
ArrowFunction |
({
name,
withTime,
maxDate,
minDate,
defaultValue,
...datePickerProps
}) => {
const { t } = useTranslation('form');
const Component = withTime ? DateTimePicker : DatePicker;
const {
control,
formState: { errors },
} = useFormContext();
const {
// esl... | mbertoneri/pellet-logger-admin | src/components/Form/LocalizedDatePicker/LocalizedDatePicker.tsx | TypeScript |
ArrowFunction |
ReactElement => (
<TextField
{...props} | mbertoneri/pellet-logger-admin | src/components/Form/LocalizedDatePicker/LocalizedDatePicker.tsx | TypeScript |
TypeAliasDeclaration |
type Props = Omit<
Pick<DateTimePickerProps & DatePickerProps, 'maxDate' | 'minDate'> &
TextFieldProps & {
name: string;
withTime?: boolean;
},
'onChange' | 'value'
>; | mbertoneri/pellet-logger-admin | src/components/Form/LocalizedDatePicker/LocalizedDatePicker.tsx | TypeScript |
MethodDeclaration |
t('form:date_picker.ok') | mbertoneri/pellet-logger-admin | src/components/Form/LocalizedDatePicker/LocalizedDatePicker.tsx | TypeScript |
MethodDeclaration |
t('form:date_picker.cancel') | mbertoneri/pellet-logger-admin | src/components/Form/LocalizedDatePicker/LocalizedDatePicker.tsx | TypeScript |
MethodDeclaration |
t('form:date_picker.clear') | mbertoneri/pellet-logger-admin | src/components/Form/LocalizedDatePicker/LocalizedDatePicker.tsx | TypeScript |
MethodDeclaration |
t('form:date_picker.today') | mbertoneri/pellet-logger-admin | src/components/Form/LocalizedDatePicker/LocalizedDatePicker.tsx | TypeScript |
MethodDeclaration |
Boolean(error) | mbertoneri/pellet-logger-admin | src/components/Form/LocalizedDatePicker/LocalizedDatePicker.tsx | TypeScript |
ClassDeclaration |
@Controller('user')
export class UserController {
constructor(private readonly userService: UserService) { }
@Post()
async create(@Body() body: CreateUserDto) {
try {
return this.userService.create(body);
}
catch (err) {
throw new Error(err)
}
}
@Get()
async get(): Promise<U... | Oluwafayokemi/flaming-api | src/user/user.controller.ts | TypeScript |
MethodDeclaration |
@Post()
async create(@Body() body: CreateUserDto) {
try {
return this.userService.create(body);
}
catch (err) {
throw new Error(err)
}
} | Oluwafayokemi/flaming-api | src/user/user.controller.ts | TypeScript |
MethodDeclaration |
@Get()
async get(): Promise<User[]> {
return this.userService.findAll()
} | Oluwafayokemi/flaming-api | src/user/user.controller.ts | TypeScript |
ArrowFunction |
() => {
let service: ErrorService;
beforeEach(() => {
TestBed.configureTestingModule({
imports: [E2EImportsModule]
});
service = TestBed.inject(ErrorService);
});
it(`should be created`, () => {
expect(service).toBeTruthy();
});
} | GabrielInTheWorld/openslides-client | client/src/app/core/ui-services/error.service.spec.ts | TypeScript |
ArrowFunction |
() => {
TestBed.configureTestingModule({
imports: [E2EImportsModule]
});
service = TestBed.inject(ErrorService);
} | GabrielInTheWorld/openslides-client | client/src/app/core/ui-services/error.service.spec.ts | TypeScript |
ArrowFunction |
() => {
expect(service).toBeTruthy();
} | GabrielInTheWorld/openslides-client | client/src/app/core/ui-services/error.service.spec.ts | TypeScript |
InterfaceDeclaration |
interface LoDashStatic {
/**
* Creates a lodash object which wraps the given value to enable intuitive method chaining.
*
* In addition to Lo-Dash methods, wrappers also have the following Array methods:
* concat, join, pop, push, reverse, shift, slice, sort, splice, and unshift... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | /**
* By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby
* (ERB). Change the following template settings to use alternative delimiters.
**/
interface TemplateSettings {
/**
* The "escape" delimiter.
**/
escape?: RegExp;
/**
... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | /**
* Creates a cache object to store key/value pairs.
*/
interface MapCache {
/**
* Removes `key` and its value from the cache.
* @param key The key of the value to remove.
* @return Returns `true` if the entry was removed successfully, else `false`.
*/
del... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashWrapperBase<T, TWrapper> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapperBase<T, TWrapper> extends LoDashWrapperBase<T, TWrapper> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapperBase<T, TWrapper> extends LoDashWrapperBase<T, TWrapper> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> extends LoDashImplicitWrapperBase<T, LoDashImplicitWrapper<T>> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> extends LoDashExplicitWrapperBase<T, LoDashExplicitWrapper<T>> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitStringWrapper extends LoDashImplicitWrapper<string> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitStringWrapper extends LoDashExplicitWrapper<string> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitObjectWrapper<T> extends LoDashImplicitWrapperBase<T, LoDashImplicitObjectWrapper<T>> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitObjectWrapper<T> extends LoDashExplicitWrapperBase<T, LoDashExplicitObjectWrapper<T>> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitArrayWrapper<T> extends LoDashImplicitWrapperBase<T[], LoDashImplicitArrayWrapper<T>> {
pop(): T;
push(...items: T[]): LoDashImplicitArrayWrapper<T>;
shift(): T;
sort(compareFn?: (a: T, b: T) => number): LoDashImplicitArrayWrapper<T>;
splice(start: number... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitArrayWrapper<T> extends LoDashExplicitWrapperBase<T[], LoDashExplicitArrayWrapper<T>> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitNumberArrayWrapper extends LoDashImplicitArrayWrapper<number> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitNumberArrayWrapper extends LoDashExplicitArrayWrapper<number> { } | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | /*********
* Array *
*********/
//_.chunk
interface LoDashStatic {
/**
* Creates an array of elements split into groups the length of size. If collection can’t be split evenly, the
* final chunk will be the remaining elements.
*
* @param array The array to process.
... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitArrayWrapper<T> {
/**
* @see _.chunk
*/
chunk(size?: number): LoDashImplicitArrayWrapper<T[]>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitObjectWrapper<T> {
/**
* @see _.chunk
*/
chunk<TResult>(size?: number): LoDashImplicitArrayWrapper<TResult[]>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitArrayWrapper<T> {
/**
* @see _.chunk
*/
chunk(size?: number): LoDashExplicitArrayWrapper<T[]>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitObjectWrapper<T> {
/**
* @see _.chunk
*/
chunk<TResult>(size?: number): LoDashExplicitArrayWrapper<TResult[]>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.compact
interface LoDashStatic {
/**
* Creates an array with all falsey values removed. The values false, null, 0, "", undefined, and NaN are
* falsey.
*
* @param array The array to compact.
* @return (Array) Returns the new array of filtered values.
*/
... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitArrayWrapper<T> {
/**
* @see _.compact
*/
compact(): LoDashImplicitArrayWrapper<T>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitObjectWrapper<T> {
/**
* @see _.compact
*/
compact<TResult>(): LoDashImplicitArrayWrapper<TResult>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitArrayWrapper<T> {
/**
* @see _.compact
*/
compact(): LoDashExplicitArrayWrapper<T>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitObjectWrapper<T> {
/**
* @see _.compact
*/
compact<TResult>(): LoDashExplicitArrayWrapper<TResult>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.concat DUMMY
interface LoDashStatic {
/**
* Creates a new array concatenating `array` with any additional arrays
* and/or values.
*
* @static
* @memberOf _
* @category Array
* @param {Array} array The array to concatenate.
* @param {...... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.difference
interface LoDashStatic {
/**
* Creates an array of unique array values not included in the other provided arrays using SameValueZero for
* equality comparisons.
*
* @param array The array to inspect.
* @param values The arrays of values to exclude.
... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitArrayWrapper<T> {
/**
* @see _.difference
*/
difference(...values: (T[]|List<T>)[]): LoDashImplicitArrayWrapper<T>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitObjectWrapper<T> {
/**
* @see _.difference
*/
difference<TValue>(...values: (TValue[]|List<TValue>)[]): LoDashImplicitArrayWrapper<TValue>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitArrayWrapper<T> {
/**
* @see _.difference
*/
difference(...values: (T[]|List<T>)[]): LoDashExplicitArrayWrapper<T>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitObjectWrapper<T> {
/**
* @see _.difference
*/
difference<TValue>(...values: (TValue[]|List<TValue>)[]): LoDashExplicitArrayWrapper<TValue>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.differenceBy
interface LoDashStatic {
/**
* This method is like _.difference except that it accepts iteratee which is invoked for each element of array
* and values to generate the criterion by which uniqueness is computed. The iteratee is invoked with one
* argument: (value).
... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitArrayWrapper<T> {
/**
* @see _.differenceBy
*/
differenceBy<T>(
values?: T[]|List<T>,
iteratee?: ((value: T) => any)|string
): LoDashImplicitArrayWrapper<T>;
/**
* @see _.differenceBy
*/
differe... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitObjectWrapper<T> {
/**
* @see _.differenceBy
*/
differenceBy<T>(
values?: T[]|List<T>,
iteratee?: ((value: T) => any)|string
): LoDashImplicitArrayWrapper<T>;
/**
* @see _.differenceBy
*/
differ... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitArrayWrapper<T> {
/**
* @see _.differenceBy
*/
differenceBy<T>(
values?: T[]|List<T>,
iteratee?: ((value: T) => any)|string
): LoDashExplicitArrayWrapper<T>;
/**
* @see _.differenceBy
*/
differe... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitObjectWrapper<T> {
/**
* @see _.differenceBy
*/
differenceBy<T>(
values?: T[]|List<T>,
iteratee?: ((value: T) => any)|string
): LoDashExplicitArrayWrapper<T>;
/**
* @see _.differenceBy
*/
differ... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.differenceWith DUMMY
interface LoDashStatic {
/**
* Creates an array of unique `array` values not included in the other
* provided arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
* for equality comparisons.
*
* @stati... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.drop
interface LoDashStatic {
/**
* Creates a slice of array with n elements dropped from the beginning.
*
* @param array The array to query.
* @param n The number of elements to drop.
* @return Returns the slice of array.
*/
drop<T>(array: T[]|L... | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitArrayWrapper<T> {
/**
* @see _.drop
*/
drop(n?: number): LoDashImplicitArrayWrapper<T>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.