text
stringlengths
10
953k
import 'react-app-polyfill/ie11'; import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { Thing } from '../../../dist'; const App = () => { return ( <div> <Thing /> </div> ); }; ReactDOM.render(<App />, document.getElementById('root'));
/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
import { ServiceCatalog } from "../ServiceCatalog"; import { ServiceCatalogClient } from "../ServiceCatalogClient"; import { ListBudgetsForResourceCommand, ListBudgetsForResourceCommandInput, ListBudgetsForResourceCommandOutput, } from "../commands/ListBudgetsForResourceCommand"; import { ServiceCatalogPagination...
import React from "react"; import MainPage from "./pages/mainPage"; import Content from "./pages/content"; import Footer from "./pages/footer"; import { RouteComponentProps } from "react-router"; // import { motion, useAnimation, useMotionValue } from "framer-motion"; // import styled from "styled-components"; // in...
import { HttpService } from '@nestjs/axios'; import { CACHE_MANAGER, Inject, Injectable, Logger } from '@nestjs/common'; import { AxiosResponse } from 'axios'; import { Cache } from 'cache-manager'; import { Observable } from 'rxjs'; import { ChatterList, Chatters } from 'src/entities'; import { RandomMessageQuery, Yes...
import React from 'react'; import { createStackNavigator, StackNavigationProp, } from '@react-navigation/stack'; import { CompositeNavigationProp, useNavigation } from '@react-navigation/core'; import { DrawerNavigationProp } from '@react-navigation/drawer'; import { SidebarParamList } from '..'; import { RootStack...
import * as bodyParser from 'body-parser' import * as compression from 'compression' import * as slashes from 'connect-slashes' import * as express from 'express' import * as expressEnforcesSsl from 'express-enforces-ssl' import * as helmet from 'helmet' import * as next from 'next' import nextI18NextMiddleware from 'n...
import React, { FC, memo, useCallback, useEffect, useMemo, useState, } from "react"; import { useDispatch, useSelector } from "react-redux"; import { IAppState } from "../../store/IAppState"; import { Calendar } from "../../components/calendar/calendar"; import { QuarterAsyncAction } from "./QuarterAsyncAct...
import * as React from 'react'; import * as nipplejs from 'nipplejs'; import createRef from 'createref'; import { JsXAPI } from '../lib' const WebExTeams = require('../imgs/WebexTeams.jpg'); const joyOptions = { mode: 'static', position: { bottom: -20, left: 175 }, size: 60 }; const containerStyle = { height:...
<TS language="da" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Højreklik for at rette adressen eller teksten</translation> </message> <message> <source>Create a new address</source> <tra...
import promptSoloOption from '../../../../helpers/promptSoloOption'; import promptString from '../../../../helpers/promptString'; const message = 'Provide commit type'; const promptType = (types: string[] | undefined): Promise<string> => { if (!types) { return promptString({ message, }); } return ...
/* mjtb-colour - Converts colours between various colour spaces. * Copyright (C) 2017 Michael Trenholm-Boyle. Licensed under a * permissive (MIT) license. See the LICENSE file at the repository * root for full license text. */ import Component from './component'; import RGB from './rgb'; /** A colour in HSL (hue-s...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { EditsolutionComponent } from './editsolution.component'; describe('EditsolutionComponent', () => { let component: EditsolutionComponent; let fixture: ComponentFixture<EditsolutionComponent>; beforeEach(async(() => { TestBed....
import { SSE } from './sse'; let nextId = 0; const tasks = new Map<number, Status>(); const sseConnections = new Map<number, SSE>(); export enum Status { FINISHED = 'FINISHED', ERROR = 'ERROR', PENDING = 'PENDING' } export function addTask(): number { const id = nextId; tasks.set(id, Status.PENDING); nex...
import { Npm } from "../initiate/npm"; import { join } from "path"; import { readFile, writeFile, constants, access, copyFile } from "fs"; import { workspacesDeps, workspacesDefaults, glueDevConfigDefaults } from "../defaults"; import { CliConfig } from "../config/cli.config"; import { Logger } from "log4js"; import op...
import { MDCNotchedOutline } from '@material/notched-outline'; import { MDCSelect, MDCSelectHelperText } from '@material/select'; import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core'; // TODO: gestion des tags <optgroup label=""> @Component({ tag: 'materials-select...
import worker_instance_provider from '../../main_thread_api/providers/provide_worker_instance'; import { dispatch_message_from_worker } from '../../main_thread_api/dispatch_message_from_worker'; import { IWorkerSet, WorkerList } from '../../zorigami_types'; export default function create_workers (worker_list: Worker...
import {BrowserModule} from '@angular/platform-browser'; import {NgModule} from '@angular/core'; import {AppComponent} from './app.component'; import {OAuthType, OAuthModule} from 'ngx-oauth'; import {HttpClientModule} from '@angular/common/http'; import {PROFILE_SERVICE} from './service'; import {OpenidProfileService}...
export { default as Preload } from './preload'; export { default as Title } from './title'; export { default as Boot } from './boot'; export { default as Game } from './game'; export { default as Options } from './options'; export { default as Leaderboard } from './leaderboard'; export { def...
import * as React from "react"; import { GenerateMarkdownPreview } from "../types"; import { classNames, ClassValue } from "../util/ClassNames"; export interface PreviewProps { classes?: ClassValue; refObject?: React.RefObject<HTMLDivElement>; loadingPreview?: React.ReactNode; minHeight: number; heightUnits:...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
import Link from './Link'; export { Props } from './Link'; export default Link;
// Copyright 2019 Google LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
import { getCurrentHub } from '@sentry/hub'; import { Integration, SentryEvent } from '@sentry/types'; import { SDK_NAME, SDK_VERSION } from '../version'; /** Adds SDK info to an event. */ export class SDKInformation implements Integration { /** * @inheritDoc */ public name: string = 'SDKInformation'; /**...
import { Component, OnInit } from '@angular/core'; import { FormGroup, FormControl, FormArray, FormBuilder } from '@angular/forms' @Component({ selector: 'app-demo', templateUrl: './demo.component.html', styleUrls: ['./demo.component.scss'] }) export class DemoComponent{ name = 'Angular'; productForm: ...
/// <amd-module name="@angular/language-service/ivy/utils" /> /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { AbsoluteSourceSpan, ParseSourceSpan } from '@an...
import Storex from '@worldbrain/storex' import expect from 'expect' import { DexieStorageBackend } from '@worldbrain/storex-backend-dexie' import inMemory from '@worldbrain/storex-backend-dexie/lib/in-memory' import setupChangeTracking from './change-hooks' describe('Backup change hooks', () => { it('should trigg...
import * as React from 'react' import ProgressBar from 'react-bootstrap/ProgressBar' interface ProgressBar { amountOfProgress?: number stepNumber?: number } export const Title: React.FC<ProgressBar> = ({ amountOfProgress, stepNumber }) => ( <div style={{ paddingTop: 50, paddingBottom: 50 ...
/** @prettier */ import { OperatorFunction } from '../types'; import { operate } from '../util/lift'; import { scanInternals } from './scanInternals'; export function scan<V, A = V>(accumulator: (acc: A | V, value: V, index: number) => A): OperatorFunction<V, V | A>; export function scan<V, A>(accumulator: (acc: A, va...
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config'; interface Blob {} declare class CloudWatchLogs ...
import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { UiCarouselModule } from '../ui-carousel.module'; import { UiCarouselDemoComponent } from './ui-carousel-demo.component'; @NgModule({ imports: [ CommonModule, UiCarouselModule, ], declarations: [ UiCarou...
import { KlasaMessage, Monitor, MonitorStore, Stopwatch } from 'klasa'; import { GuildSettings } from '../lib/GuildSettings'; import { PermissionLevelsEnum } from '../lib/constants'; import { floatPromise } from '../lib/util'; export default class extends Monitor { public constructor(store: MonitorStore, file: strin...
import { nspawn as spawn, KEY_DOWN_ARROW, getCLIPath } from '..'; import { singleSelect, multiSelect } from '../utils/selectors'; export type AddStorageSettings = { resourceName: string; bucketName: string; }; export type AddDynamoDBSettings = { resourceName: string; tableName: string; gsiName: string; }; ...
export const environment = { production: true, apiUrl: 'https://wheel-of-fate-api-wheel-of-fate-api.1d35.starter-us-east-1.openshiftapps.com/api/' };
import { Injectable } from '@angular/core'; @Injectable() export class TitleService { title = ''; constructor() { } getTitle() { return this.title; } setTitle(newTitle) { this.title = newTitle; return this.title; } }
import db from '../config/db'; const Sequelize = require('sequelize'); /** * Represents type of snack in the pantry. */ export default db.define('PantryItem', { name: { type: Sequelize.TEXT, allowNull: false, unique: true, }, count: { type: Sequelize.INTEGER, all...
///<reference path='tslib/three.d.ts'/> interface IMoveable { velocity: THREE.Vector2; }
import { Storage as StorageClass } from './Storage'; export declare const Storage: StorageClass; /** * @deprecated use named import */ export default Storage; export { StorageClass }; export * from './providers'; export * from './types';
import { extractErrMsg, initRune, runePostMessageHandler, sendRuneAppCommand, simulateNativeApp, } from "./helper" import { getRuneSdk } from "../src" const challengeNumber = 1 beforeEach(async () => { simulateNativeApp() }) describe("sdk", function () { test("ensure correct properties passed to init()...
import React from 'react'; import { FormControlLabel, Radio, RadioGroup, Typography } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; import { Choice } from '../../types'; const useStyles = makeStyles({ questionWrapper: { '& .MuiTypography-body1': { fontSize: '1.2em', ...
/** * Email Delivery API * API for the Email Delivery service. Use this API to send high-volume, application-generated emails. For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm). **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to pro...
import axios from 'axios'; import jwt from 'jsonwebtoken'; import { Message, MessageMentions, MessageEmbed } from 'discord.js'; import extClient from '../../client'; import { Command } from '../../types'; import { msgCritical, msgDone, msgError, msgInfo, msgWarn } from '../../util/msgs'; import dotenv from 'dotenv'; do...
export { NycWorldTradeCenter as default } from "../../";
import { InternalServerErrorException, Logger } from '@nestjs/common'; import { User } from 'src/auth/user.entity'; import { EntityRepository, Repository } from 'typeorm'; import { CreateTaskDto } from './dto/create-task.dto'; import { GetTasksFilterDto } from './dto/get-tasks-filter-dto'; import { TaskStatus } from '....
console.log("hello!")
// Type definitions for trtc-js-sdk 4.10 // Project: https://github.com/tencentyun/TRTCSDK#readme // Definitions by: yokots <https://github.com/yokots> // Wang KaiLing <https://github.com/wkl007> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export as namespace TRTC; // utils typ...
/** * * Text * */ import React from 'react'; import {Animated, Text as RNText, StyleSheet} from 'react-native'; import Colors from 'theme/Colors'; const defaultStyle = StyleSheet.create({ fontFamily: { // fontFamily: 'Montserrat', backgroundColor: Colors.transparent, }, }); export interface TextProps...
import {createReducer, on} from '@ngrx/store'; import {setHyperParamsList, setMetricsList, setShowIdenticalHyperParams, setTasks, setvalueType} from '../actions/experiments-compare-scalars-graph.actions'; import {GroupedHyperParams, HyperParams, MetricOption, MetricValueType} from './experiments-compare-charts.reducer'...
import * as React from 'react'; import { HelloWorld } from '../HelloWorld'; import * as renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create(<HelloWorld />).toJSON(); expect(tree).toMatchSnapshot(); });
<TS language="id" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Klik kanan untuk mengubah alamat atau label</translation> </message> <message> <source>Create a new address</source> <trans...
import React, { PropsWithChildren } from 'react'; import { useStyles } from './styles'; type Props = PropsWithChildren<{ title?: string; onClick?: () => void; }>; export const Button = ({ children, title, onClick }: Props) => { const classes = useStyles(); return ( <div className={classes.button} title={...
/** * @license * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * Copyright (c) 2019, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ import { Aliases, AuthInfo, AuthInfoConfig } from '@salesforce/core'; import { CancelRe...
import { TimbreFiscalDigital } from '../../../src/tfd11'; describe('Elements.Tfd11.TimbreFiscalDigital', () => { let element: TimbreFiscalDigital; beforeEach(() => { element = new TimbreFiscalDigital(); }); test('get element name', () => { expect(element.name()).toBe('tfd:TimbreFiscal...
import dayJs from 'dayjs' import { FORMAT } from './date' export const PAGE_START = 1 /** * antd 分页参数 */ export interface AntdPagination { pageSize: number total: number current: number showSizeChanger: boolean showTotal(total: number): string } export const defaultAntdPagination: AntdPagination = { pa...
export class Menu { idP: number; codigoMenu: number; idF: number; codigoMenuF: number; nombre: string; descripcion: string; estado: string; link: string; imagen: string; fechaCrea: Date; usuarioCrea: string; fechaModica: Date; usuarioModica: string; sistemaId: num...
import { Languages } from "../../Languages" function lang(key,a?,b?,c?,d?,e?) { return Languages.get("WeekDayList", key)(a,b,c,d,e); } import * as React from 'react'; import { Component } from 'react'; import { TouchableOpacity, Text, View, ViewStyle } from "react-native"; import {colors, screenWidth} from '....
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient"; import { StartDetectMitigationActionsTaskRequest, StartDetectMitigationActionsTaskResponse } from "../models/models_2"; import { deserializeAws_restJson1StartDetectMitigationActionsTaskCommand, serializeAws_restJson1Start...
import { ScrollingModule } from '@angular/cdk/scrolling'; import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { OverlayContainerModule } from 'ng-devui/overlay-container'; import { PortalModule } from 'ng-devui/portal'; import { DrawerComponent, DrawerContentDirective } from...
// tslint:disable-next-line:import-name import dedent from 'ts-dedent'; import { SpeechMarkdown } from '../src/SpeechMarkdown'; describe('break-short', () => { const speech = new SpeechMarkdown(); const markdown = dedent` Sample [3s] speech [250ms] markdown `; test('converts to SSML - Amazon Alexa', () ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ConfigSliderComponent } from './config-slider.component'; import { MatSliderModule } from '@angular/material/slider'; describe('ConfigSliderComponent', () => { let component: ConfigSliderComponent; let fixture: ComponentFixture<Con...
import React, { forwardRef } from 'react'; import { DefaultProps, ForwardRefWithStaticComponents } from '@mantine/styles'; import { useUuid, mergeRefs } from '@mantine/hooks'; import { Box } from '../Box'; import { filterChildrenByType } from '../../utils'; import { AccordionItem, AccordionItemStylesNames, Accord...
import reverser from './reverser'; import getLocale from './locale'; import { formattedPriceOptionsType } from "../types"; export default (value: string | number, options?: formattedPriceOptionsType): string | boolean => { if (isNaN(Number(value.toString().split('')[0]))) { return false; } if (typeof option...
import React from 'react'; import { render } from '@testing-library/react'; import '@testing-library/jest-dom'; import { global_disabled_color_200 as disabledColor, global_success_color_100 as successColor, global_warning_color_100 as warningColor, global_Color_dark_200 as unknownColor, global_danger_color_10...
import React from 'react'; interface MarkerProps { /** x position relative to plotting area bounding box*/ x: number; /** y position relative to plotting area bounding box*/ y: number; } export declare const Marker: React.FC<MarkerProps>; export {};
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import {RouteProp, useFocusEffect, useNavigation, useRoute} from '@react-navigation/native'; import React, {useCallback, useEffect, useLayoutEffect, useState} from 'react'; import {injectIntl, intlShape} fro...
import * as React from 'react'; import { useTranslation } from 'react-i18next'; import { TaintEffect } from '@kubevirt-types'; import { Button, FormSelect, FormSelectOption, GridItem, TextInput } from '@patternfly/react-core'; import { MinusCircleIcon } from '@patternfly/react-icons'; import { TOLERATIONS_EFFECTS } f...
// This is a generated file from running the "createIcons" script. This file should not be updated manually. import React, { forwardRef } from "react"; import { SVGIcon, SVGIconProps } from "@react-md/icon"; export const ContentCopySVGIcon = forwardRef<SVGSVGElement, SVGIconProps>( function ContentCopySVGIcon(props...
// Copyright 2018, Venkat Peri. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish...
import { Component, OnDestroy } from '@angular/core'; import { NbThemeService } from '@nebular/theme'; import { takeWhile } from 'rxjs/operators/takeWhile'; // TODO: move layouts into the framework @Component({ selector: 'ngx-two-columns-layout', styleUrls: ['./two-columns.layout.scss'], template: ` <nb-layo...
// Entities interface ContentfullEntity { sys: Sys; contentfulMetadata: ContentfullMetadata; __typename: string; } interface Asset extends ContentfullEntity { title: string; description: string; contentType: string; fileName: string; size: number; url: string; width: number; height: number; } int...
var classNames = require('classnames'); const cx = classNames.bind(require('./devicePower.scss')); import * as React from 'react'; import { DeviceContext } from '../context/deviceContext'; import { controlEvents } from '../ui/utilities'; import { Modal } from '../modals/modal'; import { Reapply } from '../modals/reapp...
import * as React from 'react'; import { Facebook, Linkedin, GitHub, Twitter } from 'react-feather'; import ExternalLink from 'views/components/ExternalLink'; import Tooltip from 'views/components/Tooltip'; import teamMembers from 'data/team.json'; import StaticPage from './StaticPage'; import styles from './TeamConta...
export { Cookie } from "./node"
import _ from 'lodash'; import { QueryPartDef, QueryPart } from 'app/core/components/query_part/query_part'; const alertQueryDef = new QueryPartDef({ type: 'query', params: [ { name: 'queryRefId', type: 'string', dynamicLookup: true }, { name: 'from', type: 'string', options: ['10s', '1m'...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
import { e2eSetContent } from './set-content'; import { E2EPageInternal } from "@stencil/core/testing/puppeteer/puppeteer-declarations"; import { createJestPuppeteerEnvironment } from '@stencil/core/testing'; //jest-environment import * as puppeteer from "puppeteer"; //import { AddTagOptions } from './interfaces/add-...
import { request, requestForMock } from "/src/api/service"; import "/src/mock"; import { FastCrud } from "@fast-crud/fast-crud"; import "@fast-crud/fast-crud/dist/style.css"; import { FsExtendsUploader, FsExtendsEditor } from "@fast-crud/fast-extends"; import "@fast-crud/fast-extends/dist/style.css"; import UiAntdv fro...
/* Copyright 2021 Alistair Smith */ import fs from 'fs'; import { join } from 'path'; import matter from 'gray-matter'; import day from 'dayjs'; export interface Post { title: string; excerpt: string; author: { name: string; avatar: string; github: string; twitter: string; email: string; link: string;...
import * as qs from "qs"; import { connect } from "react-redux"; import { RouteComponentProps } from "react-router"; import { Action } from "redux"; import { ThunkDispatch } from "redux-thunk"; import actions from "../../actions"; import AppList from "../../components/AppList"; import { IStoreState } from "../../share...
import * as React from "react"; interface Props extends React.ComponentProps<"svg"> { size?: number; width?: number; height?: number; } const FlagIconMD = ({ size = 15, width = 21, height = 15, ...props }: Props) => { if (size !== height) { width = width * (size / height); height = height * (si...
import React from 'react'; import {classNames} from '../../utilities/css'; import {Header, HeaderProps} from './components'; import styles from './Page.scss'; export interface PageProps extends HeaderProps { /** The contents of the page */ children?: React.ReactNode; /** Remove the normal max-width on the page...
import React from "react"; import { emojis } from "../lib/config.js"; import NoteListItemFeatures from "./NoteListItemFeatures"; const NoteListItemInfo = ({ note, }) => { const SPAN_SEPARATOR = " · "; const isHub = ( typeof note.numberOfLinkedNotes === "number" && !isNaN(note.numberOfLinkedNotes) &...
import {Try, UndefinedError} from "@springtype/core"; import {expect} from "chai"; import 'mocha'; describe('lang', () => { it('Try ', function () { const array = ["first"]; expect(Try.of(() => array[1]).recover(UndefinedError, () => "second").get()).to.equal("second") }); it('...
// tslint:disable:no-any no-bitwise forin /** * this file is used to serialize log message to string * */ import { StringifyOptions } from './index'; /** * transfer the node path in Event to string * @param node the first node in a node path array */ function pathToSelector(node: HTMLElement): string | '' { i...
/// <reference types="node" /> import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common'; import { Readable } from 'stream'; expor...
'use strict'; import * as path from 'path'; import { commands, QuickPickOptions, TextDocumentShowOptions, window } from 'vscode'; import { Commands, DiffWithPreviousCommandArgs, OpenChangedFilesCommandArgs, ShowQuickBranchHistoryCommandArgs, ShowQuickRepoStatusCommandArgs, ShowQuickStashListComm...
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { concat, NEVER, Observable } from 'rxjs'; import { getStrategies } from '@rx-angular/template'; import { CoalescingTestService } from './coalescing-test.service'; @Component({ selector: 'rxa-demo-basics', templa...
import * as Core from '@creditkarma/thrift-server-core' import * as request from 'request' import { Request, RequestAPI, RequestResponse, RequiredUriUrl, UrlOptions, } from 'request' import { IHttpConnectionOptions, IRequestResponse, IThriftClientFilter, IThriftClientFilterConfig, ...
import { createDomain, restore, fork, serialize, allSettled } from 'effector'; import { spread } from './index'; test('works in forked scope', async () => { const app = createDomain(); const source = app.createEvent<{ first: string; second: number }>(); const first = app.createEvent<string>(); const second = ...
// Copyright (c) 2018-19 MalvaHQ // // This software is released under the MIT License. // https://opensource.org/licenses/MIT "use strict"; import * as vscode from "vscode"; import { ILog } from "dartsass-plugin-common"; import { Doc } from "./doc"; import { MementoKeyWatchDirectories } from "./config"; export funct...
import {Component, OnInit} from '@angular/core'; import {UsersService} from '../users.service'; @Component({ selector: 'app-inactive-users', templateUrl: './inactive-users.component.html', styleUrls: ['./inactive-users.component.css'] }) export class InactiveUsersComponent implements OnInit { users: string[]; ...
/* * Copyright (c) 2017, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ import * as moment from 'moment'; import { StatusBarAlignment, StatusBarItem, window } f...
import { AfterViewInit, Component, OnDestroy } from '@angular/core'; import { NbThemeService } from '@nebular/theme'; import { CasosEnArgentinaService } from '../../../services/casos-en-argentina.service'; import ICase from '../../../interfaces/ICase'; @Component({ selector: 'ngx-echarts-bar', template: ` <div...
import Error from 'es6-error' import Segment from './Segment' export default class SegmentParseError extends Error { readonly messageWithoutContext: string readonly segment: Segment constructor(message: string, segment: Segment) }
import fs = require('fs'); import assert = require('assert'); import path = require('path'); import * as ttm from 'azure-pipelines-task-lib/mock-test'; describe('AndroidSigning Suite', function () { this.timeout(parseInt(process.env.TASK_TEST_TIMEOUT) || 20000); before(() => { }); after(() => { })...
import { ContentFieldExtension } from "dc-extensions-sdk"; import React, { useEffect, useState } from "react"; import { AutoResizer } from "./AutoResizer"; import { getSdk } from "./ExtensionSdk"; import { KeyboardShortcuts } from "./KeyboardShortcuts"; import { ShoppableImageData } from "./ShoppableImageData"; interf...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-distributed-log', templateUrl: './distributed-log.component.html', styleUrls: ['./distributed-log.component.css'] }) export class DistributedLogComponent implements OnInit { constructor() { } ngOnInit() { } }
import * as vscode from 'vscode'; import * as path from 'path'; import * as fs from 'fs'; import * as mkdirp from 'mkdirp'; import * as rimraf from 'rimraf'; //#region Utilities namespace _ { function handleResult<T>(resolve: (result: T) => void, reject: (error: Error) => void, error: Error | null | undefined, resu...
import React from 'react'; export interface RouterLinkTypes { to: string; children?: React.ReactNode; }