type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
ArrowFunction
(id) => ( rows.filter((x) => ( x.groupId.toString() === id.toString() )) )
Musly/musly-api
app/artist/ArtistLoader.ts
TypeScript
ArrowFunction
(x) => ( x.groupId.toString() === id.toString() )
Musly/musly-api
app/artist/ArtistLoader.ts
TypeScript
ArrowFunction
(id) => ( rows.filter((x) => ( x._id.toString() === id.toString() )) )
Musly/musly-api
app/artist/ArtistLoader.ts
TypeScript
ArrowFunction
(x) => ( x._id.toString() === id.toString() )
Musly/musly-api
app/artist/ArtistLoader.ts
TypeScript
FunctionDeclaration
export function install(registers: EChartsExtensionInstallRegisters) { registers.registerChartView(PieView); registers.registerSeriesModel(PieSeriesModel); createLegacyDataSelectAction('pie', registers.registerAction); registers.registerLayout(curry(pieLayout, 'pie')); registers.registerProcessor...
153808632253/echarts
src/chart/pie/install.ts
TypeScript
ArrowFunction
({ resource }) => ( <ActivityProgress title={`Demo activity for node ${getName(resource)}`
DaoDaoNoCode/console
frontend/packages/console-demo-plugin/src/components/dashboards/activity.tsx
TypeScript
ArrowFunction
() => ( <ActivityItem>Demo
DaoDaoNoCode/console
frontend/packages/console-demo-plugin/src/components/dashboards/activity.tsx
TypeScript
MethodDeclaration
getName(resource)
DaoDaoNoCode/console
frontend/packages/console-demo-plugin/src/components/dashboards/activity.tsx
TypeScript
MethodDeclaration
getNamespace(resource)
DaoDaoNoCode/console
frontend/packages/console-demo-plugin/src/components/dashboards/activity.tsx
TypeScript
ArrowFunction
(props: IIblisReactNativeUndrawProps & SvgProps) => ( <Svg data-name="Layer 1"
vdelacou/-iblis-react-native-undraw
src/components/Festivities.tsx
TypeScript
TypeAliasDeclaration
export type Contact = { id: string; online?: boolean; trueName: string; customName?: string; isUntrustworthy?: boolean; blocked?: boolean; isFriend?: boolean; };
status-im/dappconnect-sdks
packages/react-chat/src/models/Contact.ts
TypeScript
TypeAliasDeclaration
export type Contacts = { [id: string]: Contact; };
status-im/dappconnect-sdks
packages/react-chat/src/models/Contact.ts
TypeScript
FunctionDeclaration
// TODO: Make this return an array of DependencyManagers when we add runtimes with multiple dependency managers export function getDependencyManager(runtime: Runtime): DependencyManager { if (nodeJsRuntimes.has(runtime)) { return 'npm' } else if (pythonRuntimes.has(runtime)) { return 'pip' }...
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
FunctionDeclaration
export function getFamily(runtime: string): RuntimeFamily { if (nodeJsRuntimes.has(runtime)) { return RuntimeFamily.NodeJS } else if (pythonRuntimes.has(runtime)) { return RuntimeFamily.Python } else if (dotNetRuntimes.has(runtime)) { return RuntimeFamily.DotNetCore } return...
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
FunctionDeclaration
function getSortableCompareText(runtime: Runtime): string { return runtimeCompareText.get(runtime) || runtime.toString() }
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
FunctionDeclaration
/** * Sorts runtimes from lowest value to greatest value, helpful for outputting alphabetized lists of runtimes * Differs from normal sorting as it numbers into account: e.g. nodeJs8.10 < nodeJs10.x */ export function compareSamLambdaRuntime(a: Runtime, b: Runtime): number { return getSortableCompareText(a).loca...
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
FunctionDeclaration
/** * Maps vscode document languageId to `RuntimeFamily`. */ export function getRuntimeFamily(langId: string): RuntimeFamily { switch (langId) { case 'typescript': case 'javascript': return RuntimeFamily.NodeJS case 'csharp': return RuntimeFamily.DotNetCore ...
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
FunctionDeclaration
/** * Provides the default runtime for a given `RuntimeFamily` or undefined if the runtime is invalid. */ export function getDefaultRuntime(runtime: RuntimeFamily): string | undefined { return DEFAULT_RUNTIMES.get(runtime) }
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
FunctionDeclaration
/** * Returns a set of runtimes for a specified runtime family or undefined if not found. * @param family Runtime family to get runtimes for */ function getRuntimesForFamily(family: RuntimeFamily): Set<Runtime> | undefined { switch (family) { case RuntimeFamily.NodeJS: return nodeJsRuntimes ...
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
FunctionDeclaration
/** * Creates a quick pick for a Runtime with the following parameters (all optional) * @param {Object} params Optional parameters for creating a QuickPick for runtimes: * @param {vscode.QuickInputButton[]} params.buttons Array of buttons to add to the quick pick; * @param {Runtime} params.currRuntime Runtime to se...
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
ArrowFunction
runtime => runtime !== 'nodejs8.10'
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
ArrowFunction
value => samLambdaCreatableRuntimes.has(value)
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
ArrowFunction
runtime => ({ label: runtime, alwaysShow: runtime === params.currRuntime, description: runtime === params.currRuntime ? localize('AWS.wizard.selectedPreviously', 'Selected Previously') : '', ...
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
EnumDeclaration
export enum RuntimeFamily { Unknown, Python, NodeJS, DotNetCore, }
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
TypeAliasDeclaration
export type DependencyManager = 'cli-package' | 'mod' | 'gradle' | 'pip' | 'npm' | 'maven' | 'bundler'
feiyao-aws/aws-toolkit-vscode
src/lambda/models/samLambdaRuntime.ts
TypeScript
ClassDeclaration
@NgModule({ declarations: [PanelComponent], imports: [ TooltipModule, CommonModule, DialogsModule ], exports: [PanelComponent] }) export class PanelsModule { }
cheerokee/truckpad
_app/src/app/shared/panels/panels.module.ts
TypeScript
FunctionDeclaration
export function createSubscription<S, T>(config: SubscriptionConfig<S, T>): Subscription<S, T>;
0xProject/DefinitelyTyped
types/create-subscription/index.d.ts
TypeScript
InterfaceDeclaration
export interface SubscriptionConfig<S, T> { /** * Synchronously gets the value for the subscribed property. * Return undefined if the subscribable value is undefined, * Or does not support synchronous reading (e.g. native Promise). */ getCurrentValue: (source: S) => T; /** * Set u...
0xProject/DefinitelyTyped
types/create-subscription/index.d.ts
TypeScript
InterfaceDeclaration
export interface SubscriptionProps<S, T> { children: (value: T) => React.ReactNode; source: S; }
0xProject/DefinitelyTyped
types/create-subscription/index.d.ts
TypeScript
InterfaceDeclaration
export interface Subscription<S, T> extends React.ComponentClass<SubscriptionProps<S, T>> {}
0xProject/DefinitelyTyped
types/create-subscription/index.d.ts
TypeScript
TypeAliasDeclaration
export type Unsubscribe = () => any;
0xProject/DefinitelyTyped
types/create-subscription/index.d.ts
TypeScript
FunctionDeclaration
export function main() { return platformBrowser().bootstrapModuleFactory(AppModuleNgFactory); }
strictd/public_website
src/browser/app/main.dev.aot.ts
TypeScript
ClassDeclaration
/** */ export default class Model extends AbstractClass { properties: Array<ClassProperty> = []; config: any = {}; uses: Array<string> = []; constructor(data: any) { super(data); if (data.properties !== undefined) { for (const properId of Object.keys(data.properties)) { if (data.properties[properId] !==...
wa-craft/generator
src/generator/wrapper/Model.ts
TypeScript
MethodDeclaration
setNamespace(): void { throw new Error('Method not implemented.'); }
wa-craft/generator
src/generator/wrapper/Model.ts
TypeScript
MethodDeclaration
process(): void { throw new Error('Method not implemented.'); }
wa-craft/generator
src/generator/wrapper/Model.ts
TypeScript
MethodDeclaration
getJson(): any { return { namespace: this.namespace, isAbstract: false, className: this.name, implenments: this.implenments, properties: this.properties, }; }
wa-craft/generator
src/generator/wrapper/Model.ts
TypeScript
ArrowFunction
() => { it('results in an empty object with undefined options', () => { const result = packFilterOptions(undefined); expect(result).toEqual('{}'); }); it('results in an empty object with no options', () => { const result = packFilterOptions({}); expect(result).toEqual('{}'); }); it('encodes...
notifi-network/notifi-sdk-ts
packages/notifi-react-hooks/lib/utils/packFilterOptions.spec.ts
TypeScript
ArrowFunction
() => { const result = packFilterOptions(undefined); expect(result).toEqual('{}'); }
notifi-network/notifi-sdk-ts
packages/notifi-react-hooks/lib/utils/packFilterOptions.spec.ts
TypeScript
ArrowFunction
() => { const result = packFilterOptions({}); expect(result).toEqual('{}'); }
notifi-network/notifi-sdk-ts
packages/notifi-react-hooks/lib/utils/packFilterOptions.spec.ts
TypeScript
ArrowFunction
() => { const result = packFilterOptions({ threshold: 5.5, }); expect(result).toEqual('{"threshold":"5.5"}'); }
notifi-network/notifi-sdk-ts
packages/notifi-react-hooks/lib/utils/packFilterOptions.spec.ts
TypeScript
ArrowFunction
() => { const result = packFilterOptions({ alertFrequency: 'ALWAYS', }); expect(result).toEqual('{"alertFrequency":"ALWAYS"}'); }
notifi-network/notifi-sdk-ts
packages/notifi-react-hooks/lib/utils/packFilterOptions.spec.ts
TypeScript
ArrowFunction
() => { const result = packFilterOptions({ directMessageType: 'MARKETING', }); expect(result).toEqual('{"directMessageType":"MARKETING"}'); }
notifi-network/notifi-sdk-ts
packages/notifi-react-hooks/lib/utils/packFilterOptions.spec.ts
TypeScript
ClassDeclaration
@Component({ tag: 'pr-button', styleUrl: 'pr-button.css', shadow: true, }) export class PrButton { @Prop() color: 'PRIMARY' | 'SECONDARY' = 'PRIMARY'; @Prop() disabled: boolean = false; @Prop() size: 'LARGE' | 'MEDIUM' | 'SMALL' = 'LARGE'; @Prop() text: string; @Prop() icon: string; //Event to emit ...
alvarojbucaro/every-framework-components
src/components/pr-button/pr-button.tsx
TypeScript
ClassDeclaration
class
alvarojbucaro/every-framework-components
src/components/pr-button/pr-button.tsx
TypeScript
MethodDeclaration
eventButton() { this.event.emit(); }
alvarojbucaro/every-framework-components
src/components/pr-button/pr-button.tsx
TypeScript
MethodDeclaration
//get size of button getSizeOfBotton() { return CONST_SIZES_BUTTON[this.size]; }
alvarojbucaro/every-framework-components
src/components/pr-button/pr-button.tsx
TypeScript
MethodDeclaration
//get color of button getColorOfButton() { return this.disabled ? CONST_COLORS_BUTTON[this.color]['DISABLED'] : CONST_COLORS_BUTTON[this.color]['ENABLED']; }
alvarojbucaro/every-framework-components
src/components/pr-button/pr-button.tsx
TypeScript
MethodDeclaration
//get BackgroundColor getBackgroundColor() { return this.disabled ? CONST_COLORS_BUTTON['TRANSPARENT'] : this.getColorOfButton(); }
alvarojbucaro/every-framework-components
src/components/pr-button/pr-button.tsx
TypeScript
MethodDeclaration
render() { return ( <Host> <button class="pr-button" disabled={this.disabled} style={this.stylePrButton} type="button" onClick={this.eventButton.bind(this)}> {this.text} <img class="imagen" src={this.icon} /> </button> </Host> ); }
alvarojbucaro/every-framework-components
src/components/pr-button/pr-button.tsx
TypeScript
ArrowFunction
props => props.disabled && ` background: #000; `
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
(props: HomeProps) => { const [balance, setBalance] = useState<number>(); const [isActive, setIsActive] = useState(isPast(freezerOpenDate)); // true when countdown completes const [isSoldOut, setIsSoldOut] = useState(false); // true when items remaining is zero const [isMinting, setIsMinting] = useState(false)...
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
() => { (async () => { if (!wallet) return; const { candyMachine, goLiveDate, itemsAvailable, itemsRemaining, itemsRedeemed, } = await getCandyMachineState( wallet as anchor.Wallet, props.candyMachineId, props.connection ); ...
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
async () => { if (!wallet) return; const { candyMachine, goLiveDate, itemsAvailable, itemsRemaining, itemsRedeemed, } = await getCandyMachineState( wallet as anchor.Wallet, props.candyMachineId, props.connection ); setItems...
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
async () => { try { setIsMinting(true); if (wallet && candyMachine?.program) { const mintTxId = await mintOneToken( candyMachine, props.config, wallet.publicKey, props.treasury ); const status = await awaitTransactionSignatureConfirmation...
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
() => { (async () => { if (wallet) { const balance = await props.connection.getBalance(wallet.publicKey); setBalance(balance / LAMPORTS_PER_SOL); } })(); }
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
async () => { if (wallet) { const balance = await props.connection.getBalance(wallet.publicKey); setBalance(balance / LAMPORTS_PER_SOL); } }
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
() => { const intervalId = setInterval(() => { setIsActive(isPast(freezerOpenDate)); }, 1000); return () => clearInterval(intervalId); }
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
() => { setIsActive(isPast(freezerOpenDate)); }
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
() => clearInterval(intervalId)
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
() => setAlertState({ ...alertState, open: false })
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
({ days, hours, minutes, seconds, completed }: any) => { return ( <CounterText> {hours + (days || 0) * 24}
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
InterfaceDeclaration
export interface HomeProps { candyMachineId: anchor.web3.PublicKey; config: anchor.web3.PublicKey; connection: anchor.web3.Connection; startDate: number; treasury: anchor.web3.PublicKey; txTimeout: number; }
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
InterfaceDeclaration
interface AlertState { open: boolean; message: string; severity: "success" | "info" | "warning" | "error" | undefined; }
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
MethodDeclaration
shortenAddress(wallet
penneydude/candy-machine-mint
src/Home.tsx
TypeScript
ArrowFunction
async () => { const trackedUsers = new TrackedUsers(TEST_NETWORK_ID, DB_FACTORY); let err: Error; try { await trackedUsers.setUserTracked("mock"); } catch (e) { err = e; } await expect(err.message).toMatch('invalid address (arg="address", value="mock", version=4.0.24)'); expect(await trackedUse...
MicrohexHQ/augur
packages/augur-sdk/src/state/db/TrackedUsers.test.ts
TypeScript
TypeAliasDeclaration
export type GradientStroke = { /** * Match Name * @desc After Effect's Match Name. Used for expressions */ mn: string; /** * Name * @desc After Effect's Name. Used for expressions */ nm: string; /** * Type * @desc Shape content type */ ty: ShapeType.GradientStroke; /** * Opa...
eteplus/lottie-json
types/shapes/gStroke.ts
TypeScript
ClassDeclaration
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. export class WindowUtils { public postMessage(win: Window, data: any, targetOrigin: string): void { win.postMessage(JSON.stringify(data), targetOrigin); } public addEventListener(win: Window, command: st...
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public postMessage(win: Window, data: any, targetOrigin: string): void { win.postMessage(JSON.stringify(data), targetOrigin); }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public addEventListener(win: Window, command: string, callback: (e: MessageEvent) => void, useCapture: boolean): void { win.addEventListener(command, callback, useCapture); }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public removeEventListener(win: Window, command: string, callback: (e: MessageEvent) => void, useCapture: boolean): void { win.removeEventListener(command, callback); }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public setTimeout(handler: Function, timeout: number): number { return window.setTimeout(handler, timeout); }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public setInterval(handler: Function, timeout: number): number { return window.setInterval(handler, timeout); }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public createObjectURL(sourceObject: Blob | File | MediaSource): string { return window.URL.createObjectURL(sourceObject); }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public clearTimeout(timeout: number): void { window.clearTimeout(timeout); }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public clearInterval(timeInterval: number): void { window.clearInterval(timeInterval); }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration { return window.getComputedStyle(elt, pseudoElt); }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public getTopWindow(): Window { return window.top; }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public getWindow(): Window { return window; }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public isTopWindow(): boolean { return this.getTopWindow() === this.getWindow(); }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public getParentWindow(): Window { return window.parent; }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public closeWindow(): void { window.close(); }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
MethodDeclaration
public getPlatform(): string { return window.navigator.platform; }
AdrianRamiro/accessibility-insights-web
src/common/window-utils.ts
TypeScript
FunctionDeclaration
/** * @license * Copyright Google Inc. 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://bangular.io/license */ // THIS CODE IS GENERATED - DO NOT MODIFY // See bangular/tools/gulp-tasks/cldr/extract.js function plural(n: number...
johnfedoruk/bangular
packages/common/locales/vi.ts
TypeScript
ClassDeclaration
@Directive({ selector: '[sort-by]', host: { '(click)': 'onClick($event)' } }) export class SortByDirective { private sortProperty: string; @Output() sorted: EventEmitter<string> = new EventEmitter(); constructor() { } @Input('sort-by') set sortBy(value: string) { this.sortProperty ...
noeliasfranco/angular2POC
src/app/shared/directives/sortby.directive.ts
TypeScript
MethodDeclaration
onClick(event: any) { event.preventDefault(); this.sorted.next(this.sortProperty); //Raise clicked event }
noeliasfranco/angular2POC
src/app/shared/directives/sortby.directive.ts
TypeScript
InterfaceDeclaration
export interface ScreenProps extends ViewProps { active?: 0 | 1 | Animated.AnimatedInterpolation; activityState?: 0 | 1 | 2 | Animated.AnimatedInterpolation; children?: React.ReactNode; /** * All children screens should have the same value of their "enabled" prop as their container. */ enabled?: boolea...
flavien-ro/React-Native-Task-Manager
task-manager/client/node_modules/react-native-screens/src/types.tsx
TypeScript
InterfaceDeclaration
export interface ScreenContainerProps extends ViewProps { children?: React.ReactNode; /** * A prop that gives users an option to switch between using Screens for the navigator (container). All children screens should have the same value of their "enabled" prop as their container. */ enabled?: boolean; }
flavien-ro/React-Native-Task-Manager
task-manager/client/node_modules/react-native-screens/src/types.tsx
TypeScript
InterfaceDeclaration
export interface ScreenStackProps extends ViewProps { children?: React.ReactNode; /** * A callback that gets called when the current screen finishes its transition. */ onFinishTransitioning?: (e: NativeSyntheticEvent<TargetedEvent>) => void; }
flavien-ro/React-Native-Task-Manager
task-manager/client/node_modules/react-native-screens/src/types.tsx
TypeScript
InterfaceDeclaration
export interface ScreenStackHeaderConfigProps extends ViewProps { /** * Whether to show the back button with custom left side of the header. */ backButtonInCustomView?: boolean; /** * Controls the color of the navigation header. */ backgroundColor?: string; /** * Title to display in the back b...
flavien-ro/React-Native-Task-Manager
task-manager/client/node_modules/react-native-screens/src/types.tsx
TypeScript
InterfaceDeclaration
export interface SearchBarProps { /** * Indicates whether to to obscure the underlying content */ obscureBackground?: boolean; /** * Indicates whether to hide the navigation bar */ hideNavigationBar?: boolean; /** * Indicates whether to hide the search bar when scrolling */ hideWhenScroll...
flavien-ro/React-Native-Task-Manager
task-manager/client/node_modules/react-native-screens/src/types.tsx
TypeScript
TypeAliasDeclaration
export type StackPresentationTypes = | 'push' | 'modal' | 'transparentModal' | 'containedModal' | 'containedTransparentModal' | 'fullScreenModal' | 'formSheet';
flavien-ro/React-Native-Task-Manager
task-manager/client/node_modules/react-native-screens/src/types.tsx
TypeScript
TypeAliasDeclaration
export type StackAnimationTypes = | 'default' | 'fade' | 'flip' | 'none' | 'simple_push' | 'slide_from_bottom' | 'slide_from_right' | 'slide_from_left';
flavien-ro/React-Native-Task-Manager
task-manager/client/node_modules/react-native-screens/src/types.tsx
TypeScript
TypeAliasDeclaration
export type BlurEffectTypes = | 'extraLight' | 'light' | 'dark' | 'regular' | 'prominent' | 'systemUltraThinMaterial' | 'systemThinMaterial' | 'systemMaterial' | 'systemThickMaterial' | 'systemChromeMaterial' | 'systemUltraThinMaterialLight' | 'systemThinMaterialLight' | 'systemMaterialLight'...
flavien-ro/React-Native-Task-Manager
task-manager/client/node_modules/react-native-screens/src/types.tsx
TypeScript
TypeAliasDeclaration
export type ScreenReplaceTypes = 'push' | 'pop';
flavien-ro/React-Native-Task-Manager
task-manager/client/node_modules/react-native-screens/src/types.tsx
TypeScript
TypeAliasDeclaration
export type ScreenOrientationTypes = | 'default' | 'all' | 'portrait' | 'portrait_up' | 'portrait_down' | 'landscape' | 'landscape_left' | 'landscape_right';
flavien-ro/React-Native-Task-Manager
task-manager/client/node_modules/react-native-screens/src/types.tsx
TypeScript
TypeAliasDeclaration
export type HeaderSubviewTypes = | 'back' | 'right' | 'left' | 'center' | 'searchBar';
flavien-ro/React-Native-Task-Manager
task-manager/client/node_modules/react-native-screens/src/types.tsx
TypeScript
ArrowFunction
()=> { let context:JcadContext = null; let getContextSpy:any = null; let getDecoratorSpy:any = null; let annotationSpy:any = null; let decorateSpy:any = null; before(()=> { getContextSpy = sinon.spy(JcadContextManager.getInstance(), "getContext"); getDecoratorSpy = sinon.spy(Decorato...
jec-project/jec-jars
test/com/jec/jars/annotations/DELETETest.ts
TypeScript
ArrowFunction
()=> { getContextSpy = sinon.spy(JcadContextManager.getInstance(), "getContext"); getDecoratorSpy = sinon.spy(DecoratorConnectorManager.getInstance(), "getDecorator"); annotationSpy = sinon.spy(DELETEAnnotation, "DELETE"); decorateSpy = sinon.spy(utils.TEST_DECORATOR, "decorate"); cont...
jec-project/jec-jars
test/com/jec/jars/annotations/DELETETest.ts
TypeScript
ArrowFunction
()=> { utils.resetContext(context); sinon.restore(); }
jec-project/jec-jars
test/com/jec/jars/annotations/DELETETest.ts
TypeScript
ArrowFunction
()=> { utils.buildClassRef(); }
jec-project/jec-jars
test/com/jec/jars/annotations/DELETETest.ts
TypeScript