text
stringlengths
10
953k
export interface IFS { Dir: any Dirent?: any; F_OK?: any; FileReadStream?: any; FileWriteStream?: any; R_OK?: any; ReadStream?: any; Stats?: any; W_OK?: any; WriteStream?: any; X_OK?: any; access?: any; accessSync?: any; appendFile?: any; appendFileSync?: any;...
import { DrawEventParams } from '../common/type' import Plugin from './Plugin' export default class Download extends Plugin { name = 'download' iconfont = 'iconfont icon-download' title = { en: 'Download image', de: 'Bild herunterladen' } onEnter = (drawEventParams: DrawEventParams) => { const {stage, pix...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. import { HttpResponse } from "../src/HttpClient"; import { HttpConnection, INegotiateResponse, TransportSendQueue } from "../src/HttpConnection"; import...
// Type definitions for @ag-grid-community/core v23.1.1 // Project: http://www.ag-grid.com/ // Definitions by: Niall Crosby <https://github.com/ag-grid/> import { Column } from "./entities/column"; import { CellPosition } from "./entities/cellPosition"; import { RowNode } from "./entities/rowNode"; export declare class...
import React from 'react'; import Snippet from '../../components/Snippet'; export default function SectionTextTransform() { return ( <> <Snippet title="Flex" description="Use flexbox for the good results." highlightKeywords={['flex']}> <div className="flex"> ...
/** * `Filterable` represents data structures which can be _partitioned_/_filtered_. * * Adapted from https://github.com/LiamGoodacre/purescript-filterable/blob/master/src/Data/Filterable.purs * * @since 2.0.0 */ import { Compactable, Compactable1, Compactable2, Compactable2C, Compactable3, Compactabl...
import React from 'react'; import { Col, Row } from 'antd'; import { useTranslation } from 'react-i18next'; import { PageTitle } from '@app/components/common/PageTitle/PageTitle'; import { Card } from '@app/components/common/Card/Card'; import { DynamicForm } from '@app/components/forms/DynamicForm/DynamicForm'; import...
export * from './controllers'; export * from './entities'; export * from './services'; export * from './doctors.module'; export * from './queries/impl';
import 'element-ui/packages/theme-chalk/src/date-picker.scss'
import { MdiReactIconComponentType } from './dist/typings'; declare const LinkBoxVariantIcon: MdiReactIconComponentType; export default LinkBoxVariantIcon;
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { AvroSerializationError } from "../../../src"; import { assert } from "@azure/test-utils"; export async function assertSerializationError<T>( p: Promise<T>, expectations: { innerMessage?: RegExp; message?: RegExp; } = {} ...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { RouterModule } from '@angular/router'; import { VCLPasswordInputModule, VCLInputModule, VCLFormControlGroupModule } from '@vcl/ng-vcl'; import { DemoModule, DemoComponent } fr...
import React, { Dispatch, SetStateAction } from 'react'; import { Link, useParams } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { Edit, Trash } from '@styled-icons/fa-solid'; import { CircleFill } from '@styled-icons/bootstrap'; import { DEFAULT_MEMBER_NAME } from 'Constants'; impor...
import { ControlEvents, EventBus, PublishPacer, SimVarDefinition, SimVarValueType } from '../data'; import { EventSubscriber } from '../data/EventSubscriber'; import { SimVarPublisher } from './BasePublishers'; /** Simvar definitions related to a transponder. */ export interface XPDRSimVars { /** Transponder1 code *...
// Copyright 2021 Touca, Inc. Subject to Apache-2.0 License. export class Result { name: string; srcType?: string; dstType?: string; srcValue?: string; dstValue?: string; score?: number; desc?: string[]; public constructor(init?: Partial<Result>) { Object.assign(this, init); } }
import { Global } from "../__mocks__/global.mock"; import { onSaveConfiguration } from "./on-save-configuration"; declare const global: Global; describe("onSaveConfiguration", () => { it("should set properties", () => { // Arrange const documentProperties: GoogleAppsScript.Properties.Properties = { se...
// import * as React from 'react'; // import { Table } from '../components/common/table/Table'; // import { Column } from '../components/common/table/Column'; // import { ActionCol } from '../components/common/table/ActionCol'; // import { Grid } from '../components/common/grid/Grid'; // import VectorEmailRecord from '...
import * as React from 'react' import classNames from 'classnames' import { ButtonLink, Card } from '@sourcegraph/wildcard' import styles from './CtaBanner.module.scss' interface Props { className?: string bodyTextClassName?: string icon: React.ReactNode headingElement?: 'h1' | 'h2' | 'h3' | 'h4' | ...
import { KTX2Decoder } from "../index"; var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined); if (typeof globalObject !== "undefined") { (<any>globalObject).KTX2DECODER = KTX2Decoder; } export * from "../index";
import BScroll, { TranslaterPoint } from '@better-scroll/core'; import { EventEmitter, EventRegister } from '@better-scroll/shared-utils'; import EventHandler from './event-handler'; export declare const enum IndicatorDirection { Horizontal = "horizontal", Vertical = "vertical" } export declare const enum Offse...
import { Context, createContext, useContext, FC } from "react"; import { useProvideAuth } from "@/hooks/useProvideAuth"; import { ProvideAuth } from "@/hooks/types/ProvideAuth.types"; export type AuthContext = ProvideAuth | null; const authContext = createContext<ProvideAuth | null>(null); export const AuthProvider:...
import format from 'date-fns/format'; import ptBR from 'date-fns/locale/pt-BR'; import styles from './styles.module.scss'; export function Header() { const currentDate = format(new Date(), 'EEEEEE, d MMMM', { locale: ptBR, }); return ( <header className={styles.headerContainer}> ...
export { default as UserInfoStackScreen } from "./UserInfo";
import * as React from 'react'; import { AppBar, Avatar, Backdrop, Badge, BottomNavigation, BottomNavigationAction, Button, Card, CardActions, CardContent, CardHeader, CardMedia, Checkbox, Chip, CircularProgress, ClickAwayListener, Collapse, CssBaseline, Dialog, DialogTitle, Di...
declare const KyRequester: {}; export { KyRequester };
export interface Picture { id: number; link: string; }
export interface BieCopyResponse { topLevelAsbiepId: number; }
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { NgaModule } from '../../theme/nga.module'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { DataTableModule, SharedModule, PanelModule, AutoCompleteModule, InputTextModule, CalendarModule } fro...
import { ProviderRpcError } from "../../../types"; import { CustomError } from "../../core/errors"; export declare class HardhatNetworkProviderError extends CustomError implements ProviderRpcError { readonly code: number; static isHardhatNetworkProviderError(other: any): other is HardhatNetworkProviderError; ...
import * as React from "react"; import { JSX } from "react-jsx"; import { IFluentIconsProps } from '../IFluentIconsProps.types'; const ImageAltText24Regular = (iconProps: IFluentIconsProps, props: React.HTMLAttributes<HTMLElement>): JSX.Element => { const { primaryFill, className } = iconProps; return <s...
import { newE2EPage } from "@stencil/core/testing"; describe("calcite-radio-group", () => { it("renders", async () => { const page = await newE2EPage(); await page.setContent("<calcite-radio-group></calcite-radio-group>"); const element = await page.find("calcite-radio-group"); expect(element).toBeD...
import { CommonModule } from '@angular/common'; import { BrowserModule } from '@angular/platform-browser'; import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { FlexLayoutModule } from '@angular/flex-layout'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { HttpClientModu...
import type Plugin from '@hilla/generator-typescript-core/Plugin.js'; import { isEmptyObject, isObjectSchema, NonEmptyObjectSchema, Schema, } from '@hilla/generator-typescript-core/Schema.js'; import type DependencyManager from '@hilla/generator-typescript-utils/dependencies/DependencyManager.js'; import type {...
/** * * * OpenAPI spec version: 20200129 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ // actual mocks export const expandLiteralStrings = jest.fn(); export const X...
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 /* eslint-env mocha */ import { WebCryptoDecryptionMaterial, WebCryptoEncryptionMaterial, KeyringWebCrypto, KeyringTraceFlag, importForWebCryptoDecryptionMaterial, } from '@aws-crypto/material-managem...
export interface IClientSyncConnection { connectionId: number; ip: any; error(statusCode: number): void; addAuth(token: string): void; send(data: string): void; close(): void; } //# sourceMappingURL=ClientSyncConnection.d.ts.map
import { HTTP, POST, Body, Observable, AxiosResponse } from '@yggdrasilts/axiosfit'; import { Options } from '../../echarts/entities/options.entity'; @HTTP() export class EchartsAxiosfitService { private static readonly serviceName = 'EchartsAxiosfitService'; @POST('/image') public getImage(@Body() options: Op...
import { ConflictException } from '@nestjs/common'; export class PostConflictException extends ConflictException { constructor(postId: string) { super(`Post with id ${postId} does not match`); } }
import { Injectable } from '@angular/core'; import { Router, NavigationStart } from '@angular/router'; import { Observable, Subject } from 'rxjs'; //import { Subject } from 'rxjs/Subject'; import {filter} from 'rxjs/operators' import { Alert, AlertType } from '../models/alert'; @Injectable() export class AlertService...
/** * @license * Copyright 2017 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 ...
import { Common } from './startapp.common'; export declare class Startapp extends Common { // define your typings manually // or.. // take the ios or android .d.ts files and copy/paste them here }
import { from, Observable } from 'rxjs'; import { Injectable } from '@angular/core'; import { HasContentType, HasResponses } from '@codegena/definitions/aspects'; import { Schema as JsonSchema } from '@codegena/definitions/json-schema'; import { Oas3Server } from '@codegena/definitions/oas3'; import { EntrypointAbstrac...
import Session from './session'; /** * * * @export * @interface ErrorMessageInterface */ export interface ErrorMessageInterface { /** * * * @type {number} */ errorNumber: number; /** * * * @type {string} */ errorMessage: string; /** * * * @type {number} */ messageID...
/* Author: Data: Desc: local data config NOTE: Don't modify this file, it's build by xml-to-python!!! */ module config{ let itemmerge_map = null; export function itemmerge_map_init(config_obj:Object):void{ itemmerge_map = config_obj["itemmerge_map"]; } export class Itemmerge extends Object{ private m_config:any...
import { NodeSpec } from 'prosemirror-model'; const nodeSpec: NodeSpec = { group: 'block', parseDOM: [{ tag: 'hr' }], toDOM() { return ['hr']; }, }; export default nodeSpec;
import { Component, ElementRef, Input, OnInit, OnDestroy } from '@angular/core'; declare var jquery:any; declare var $ :any; import { ModalService } from '../_services/index'; @Component({ moduleId: module.id.toString(), selector: 'modal', template: '<ng-content></ng-content>' }) export class ModalCompo...
import {CommonModule} from '@angular/common'; import {ModuleWithProviders, NgModule} from '@angular/core'; import {NgbProgressbar} from './progressbar'; import {NgbProgressbarConfig} from './progressbar-config'; export {NgbProgressbar} from './progressbar'; export {NgbProgressbarConfig} from './progressbar-config'; ...
import UserToken from '@modules/users/infra/typeorm/entities/UserToken'; import IUserTokenRepository from '@modules/users/repositories/IUserTokensRepository'; import { uuid } from 'uuidv4'; export default class FakeUserTokensRepository implements IUserTokenRepository { private userTokens: UserToken[] = []; publi...
export const sheetapi = { "access_token": "ya29.GlsWBkGNmBp7gTIcP5jIsburdb4979Fb1Nqchr40DphMqxRkg0odsMg_wfOaQ77K39hW2_jgT6NcflZsLa1WwFLx6rKXgGCSZcWZPM4UmUOhXI9h39FvCNr6iVlS", "refresh_token": "1/mTWmGlsd6Gl2qCz3sCBYsrkTXnXIJt1BJblJB13Zcws", "scope": "https://www.googleapis.com/auth/spreadsheets", "token...
import { styled } from "@linaria/react"; import { css } from "@linaria/core"; import React, { Suspense, useEffect, useMemo, useState } from "react"; import { useRecoilValue } from "recoil"; import { Endianness } from "../../shared/protocol"; import { FocusedElement, getDataCellElement, useDisplayContext } from "./dataD...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="et"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Xcoin</source> <translation type="unfinished"></tr...
export class UserTypeVtoData { id :number ; labelEN :string; }
import { v4 } from "uuid"; import { Pool, PoolClient } from "pg"; import { randomBytes } from "crypto"; import { GraphQLFieldConfig, GraphQLList, GraphQLNonNull } from "graphql"; import { Context } from "../../Context"; import { GraphQLGrant } from "../GraphQLGrant"; import { Grant } from "../../model"; import { DataLo...
import { Channel } from '../entities' import DeliveryService from '../types/DeliveryService' export type CreateReceiverHandler = (service: DeliveryService, targetId: string) => Promise<void> export type CreateChannelHandler = (title: string, service: DeliveryService, targetId: string) => Promise<Channel> export type R...
import c3 from "c3"; import { useEffect } from "react"; import { useChartId } from "../hooks/use-chart-id"; import { useConversation } from "../hooks/use-conversation"; import { ColumnChartProps, compareFnColumns, getStackConfiguration, } from "./chart-common"; type Props = { lengthMin: number; lengthMax: number;...
type RefObject<T> = { current: T | null }; type RefCallback<T> = (instance: T | null) => void; export type Ref<T> = RefObject<T> | RefCallback<T>;
import styles from "../components/pages/projects/DoggoSnap.module.scss"; import _ from "lodash"; /* Utility function to convert a canvas to a BLOB */ const dataURLToBlob = (dataURL: string) => { const BASE64_MARKER = ";base64,"; if (dataURL.indexOf(BASE64_MARKER) === -1) { const parts = dataURL.split(","); ...
/** * Declare packages not explicitly defined * @description Consult DefinitelyTyped before declaring below * http://definitelytyped.org/ */ declare module "ansi-html"; declare module "react-dev-utils/formatWebpackMessages";
export interface LiveGameFindQuery { id?: string; round?: number; }
/** @publicapi @module ng1 */ /** */ import { StateObject, TransitionStateHookFn, HookResult, Transition, services, ResolveContext, extend, } from '@uirouter/core'; import { getLocals } from '../services'; import { Ng1StateDeclaration } from '../interface'; /** * This is a [[StateBuilder.builder]] funct...
const jumpProgs = [ String.raw` do if a continue while bb `, String.raw` do if a break a while bb `, String.raw` do if a break elif baa continue elif caaaaa break else continue while bb `, String.raw` while a if a pass else break if b if e break else ...
import { Email } from "@lib/smtp" const sendEmail = async (To: string, Subject: string, Body: string) => { return await send(To, Subject, Body) }, sendOTP = async (To: string, Subject: string, OTP: number) => { return await send( To, Subject, `This email is automatically generated from internal system o...
import {EllipsisPipe} from './ellipsis.pipe'; describe('EllipsisPipe', () => { it('create an instance', () => { const pipe = new EllipsisPipe(); expect(pipe).toBeTruthy(); }); });
import { IMenuButtonComponent, IMenuButtonStylesReturnType, IMenuButtonTokenReturnType } from './MenuButton.types'; import { getGlobalClassNames, HighContrastSelector } from '../../../Styling'; const baseTokens: IMenuButtonComponent['tokens'] = (props, theme): IMenuButtonTokenReturnType => { return { menuIconSiz...
/** * Copyright 2019 Splunk, Inc. * * 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...
import * as React from 'react'; import { StyledIconProps } from '@styled-icons/styled-icon'; export declare const AccountBalanceWalletDimensions: { height: number; width: number; };
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="14"/> <source>About Bitcoin</source> <translation>О Bitcoin</translation> </message> ...
import { Injectable } from '@angular/core'; import { Router } from '@angular/router'; import * as firebase from 'firebase/app'; import { AngularFireAuth } from 'angularfire2/auth'; import { AngularFirestore, AngularFirestoreDocument } from 'angularfire2/firestore'; import { Observable } from 'rxjs/Observable'; import '...
// Project: https://github.com/vueComponent/ant-design-vue // Definitions by: akki-jat <https://github.com/akki-jat> // Definitions: https://github.com/vueComponent/ant-design-vue/types import { AntdComponent, AntdProps } from './component'; export declare class Affix extends AntdComponent { $props: AntdProps & { ...
import { Injectable } from '@nestjs/common'; import { UserDto } from './dto/user.dto'; import { MongooseModel } from '../shared/mongo/services/mongoose.model'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { UserInterface } from './interfaces/user.interface'; const bcrypt = r...
import { Component } from '@angular/core'; @Component({ selector: 'ngx-manage-admin-elements', template:` <router-outlet></router-outlet> `, }) export class manageAdminComponent { }
figma.showUI(__html__, { width: 300, height: 600 }); figma.ui.onmessage = async (action) => { switch (action.type) { case 'setPaletteMode': await figma.clientStorage.setAsync('paletteMode', action.value) break; case 'getPaletteMode': figma.clientStorage.getAsync...
import type { SagaIterator } from "redux-saga"; import { call } from "redux-saga/effects"; import * as reduxUtils from "~/redux/reduxUtils"; import { EntityGroup, ToolName, UserGroupModel } from "~/typeDefs"; import { validStringify } from "~/utils"; interface TogglUserGroupResponseModel { id: number; wid: number...
import { action, computed, observable } from 'mobx'; import { ValueOrFunction } from '../bind/BindImpl'; import { ValueImpl, ValueOptions } from '../value/ValueImpl'; import { BindOneOfChoice, OneOf } from './OneOf'; export interface OneOfOptions<T> extends ValueOptions<OneOfImpl<T>, T> { choices?: ValueOrFunction...
import React, { ReactNode } from 'react'; interface Props { children: ReactNode; src: string; } export default function Figure({ children, src }: Props): JSX.Element { return ( <figure style={{ textAlign: 'center' }}> <img src={src} /> <figcaption style={{ color: 'gray', fontSize: 'small' }}>{ch...
import { AnchorButton, ButtonList } from '@contember/ui' import { EmptyMessage } from '../bindingFacade' import { MiscPageLayout } from '../MiscPageLayout' export interface Project { slug: string name: string } export interface ProjectListProps { projects: readonly Project[], formatProjectUrl: (project: Project) ...
import { CategoriaComponent } from './categoria/categoria.component'; import { CategoriaFormComponent } from './categoria-form/categoria-form.component'; import { CategoriaListaComponent } from './categoria-lista/categoria-lista.component'; import { NgModule } from '@angular/core'; import { Routes, RouterModule } from ...
import React from 'react'; import { LinearGradient } from 'expo-linear-gradient'; import { styles } from './styles'; import { theme } from '../../global/styles/theme'; export function Background() { const { secondary80, secondary100 } = theme.colors; return ( <LinearGradient style={styles.container} ...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { TranslateModule } from '@ngx-translate/core'; import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap'; import { LayoutRoutingModule } from './layout-routing.module'; import { LayoutComponent } from './layout.compo...
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { LayoutComponent } from './layout.component'; import { Screen1Component } from './screen1/screen1.component'; import { Screen2Component } from './screen2/screen2.component'; const routes: Routes = [ { ...
import {NgModule,Directive,OnDestroy,AfterViewInit,ElementRef,HostListener,Input,Output,EventEmitter,NgZone} from '@angular/core'; import {CommonModule} from '@angular/common'; import {DomHandler} from '@cyriacbr/primeng/dom'; @Directive({ selector: '[pDraggable]' }) export class Draggable implements AfterViewInit...
export * from "./redux/ImmutableStore";
// 12 // import Avatar from '@material-ui/core/Avatar'; // import Paper from '@material-ui/core/Paper'; // import Tooltip from '@material-ui/core/Tooltip'; // import { inject, observer } from 'mobx-react'; // import moment from 'moment'; // import React from 'react'; // import confirm from '../../lib/confirm'; // impo...
import { Hook } from '@sheeted/core' import { EntityBEntity } from './entity-b.entity' export const EntityBHook: Hook<EntityBEntity> = {}
import { ClientController } from './controller/ClientController'; import { CoachController } from './controller/CoachController'; import { OrgController } from './controller/OrgController'; import { UserController } from './controller/UserController'; import { TaskController } from './controller/TaskController'; import...
import {createAction, props} from '@ngrx/store'; import {LatLngBounds, Layer} from 'leaflet'; /** * set Features in store application */ export const setFeatures = createAction( '[Explore Component] Features', props<object[]>() ); /** * set Features od the period (slider) in store application */ export co...
import { allNumbersAreSame } from './utils'; import { BigObject, MaskType } from './interfaces'; /** * BASED ON https://github.com/gammasoft/ie/ */ export const generateInscricaoEstadual: BigObject<Function> = { ac: function (valor: any) { if (tamanhoNaoE(valor, 13)) { return false; } if (naoC...
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 2.0.0 */ import {ResourceBase} from '../resource' import {Value, List} from '../dataTypes' export interface VersionProperties { CodeSha256?: Value<string> Description?: Value<string> ...
/* eslint-disable new-cap */ import config from './config/config'; import express from 'express'; import {ApolloError, ApolloServer} from 'apollo-server-express'; import typeDefs from './schema'; import resolvers from './resolver'; import {getLogger} from './tools/Logger'; import rateLimit from 'express-rate-limit'; //...
import * as Modbus from "jsmodbus"; import { Socket } from "net"; import { SchwoererVentcube } from "../main"; import { SchwoererParameter } from "./schwoerer/parameters"; export class Connector { private socket: Socket; private client: any; private server: string; private port: number; private con...
import semver from "semver"; import { Cluster } from "../cluster"; import logger from "../logger"; import { repoManager } from "./helm-repo-manager"; import { HelmChartManager } from "./helm-chart-manager"; import { releaseManager } from "./helm-release-manager"; import { HelmChartList, RepoHelmChartList } from "../../...
import * as vscode from 'vscode'; import * as path from 'path'; import * as assert from 'assert'; import * as fs from 'fs'; import { waitToAssertInSeconds, delay, resetDefaultSettings } from './utils'; const testFolderRelativeLocation = '/../fixtures/customizations/'; suite('Customizations', function () { setup(a...
/* * Copyright (c) 2021, J2 Innovations. All Rights Reserved */ import { Node } from './Node' /** * Generates the imports from the haystack-core library. */ export class HaystackCoreImportNode implements Node { public readonly types = new Set<string>() public readonly newLines = 1 public constructor(types: s...
import { Button, Form, Input } from 'antd'; // import { FormInstance, FormProps } from 'antd/lib/form/Form'; import React from 'react'; import intl from 'react-intl-universal'; import { passwordRulesFn, usernameRulesFn } from '@assets/config/rules'; import LanguageSelect from '@assets/components/LanguageSelect'; import...
import { ArrayElement } from "./helpers"; import { AddCourseStaffMutation } from "../generated/graphql"; export type CourseStaffResponseType = ArrayElement< AddCourseStaffMutation["addStaff"] >;
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { IonicModule } from '@ionic/angular'; import { ExploreComponent } from './explore.component'; describe('ExploreComponent', () => { let component: ExploreComponent; let fixture: ComponentFixture<ExploreComponent>; beforeEach(async...
import React from 'react'; import { S5 } from '../PingPong/Client'; import BenchmarkContext from '../Benchmark'; type State = { button: React.RefObject<HTMLButtonElement>, }; export default class Send extends S5<State> { static contextType = BenchmarkContext declare context: React.ContextType<typeof BenchmarkC...
import makeInMemoryStore from './make-in-memory-store' export { makeInMemoryStore }
export type Longitude = number; export type Latitude = number; export type Altitude = number; export type Position = [Longitude, Latitude, Altitude?];