type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
ArrowFunction
(options: string[]) => { const newOptions = options.map((option) => t(`wearable.rarity.${option}`).toLowerCase()) onBrowse({ wearableRarities: newOptions as WearableRarity[] }) }
blockfishio/spacey-marketplace
webapp/src/components/Vendor/decentraland/NFTFilters/NFTFilters.tsx
TypeScript
ArrowFunction
(option) => t(`wearable.rarity.${option}`).toLowerCase()
blockfishio/spacey-marketplace
webapp/src/components/Vendor/decentraland/NFTFilters/NFTFilters.tsx
TypeScript
ArrowFunction
(options: string[]) => { onBrowse({ wearableGenders: options as WearableGender[] }) }
blockfishio/spacey-marketplace
webapp/src/components/Vendor/decentraland/NFTFilters/NFTFilters.tsx
TypeScript
ArrowFunction
(contract: string) => { onBrowse({ contracts: [contract as ContractName] }) }
blockfishio/spacey-marketplace
webapp/src/components/Vendor/decentraland/NFTFilters/NFTFilters.tsx
TypeScript
ArrowFunction
(newSearch: string) => { if (search !== newSearch) { onBrowse({ search: newSearch, isMap: false, isFullscreen: false }) } }
blockfishio/spacey-marketplace
webapp/src/components/Vendor/decentraland/NFTFilters/NFTFilters.tsx
TypeScript
ArrowFunction
() => setShowFiltersMenu(false)
blockfishio/spacey-marketplace
webapp/src/components/Vendor/decentraland/NFTFilters/NFTFilters.tsx
TypeScript
MethodDeclaration
isMap ? ( <
blockfishio/spacey-marketplace
webapp/src/components/Vendor/decentraland/NFTFilters/NFTFilters.tsx
TypeScript
MethodDeclaration
t('nft_filters.on_sale')
blockfishio/spacey-marketplace
webapp/src/components/Vendor/decentraland/NFTFilters/NFTFilters.tsx
TypeScript
MethodDeclaration
t('nft_filters.filter')
blockfishio/spacey-marketplace
webapp/src/components/Vendor/decentraland/NFTFilters/NFTFilters.tsx
TypeScript
MethodDeclaration
t('nft_filters.order_by')
blockfishio/spacey-marketplace
webapp/src/components/Vendor/decentraland/NFTFilters/NFTFilters.tsx
TypeScript
MethodDeclaration
t('global.apply')
blockfishio/spacey-marketplace
webapp/src/components/Vendor/decentraland/NFTFilters/NFTFilters.tsx
TypeScript
ClassDeclaration
export class MasterPlanOnly { requestName: string; sponsor: string; coSponsor: string; requestedStartyear: number; goal: string; constructor() { this.requestName = ""; this.sponsor = ""; this.coSponsor = ""; this.requestedStartyear = 0; this.goal = ""; } }
milehighfd/confluence-mhfd-frontend
src/Classes/Study/MasterPlanOnly.ts
TypeScript
TypeAliasDeclaration
export type Appointment = { id: string, psychologistId: string, appointmentDate: string, patientId: string, deleted: boolean }
betagouv/sante-psy
types/Appointment.ts
TypeScript
ArrowFunction
() => { // make sure the target is the active editor so we do not // commit prematurely if (activeNode && activeNode.contains(target) && this.grid.getEditorLock().isActive()) { this.grid.getEditorLock().commitCurrentEdit(); } }
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(processResult: GraphqlResult) => { const datasetName = (backendApi && backendApi.service && typeof backendApi.service.getDatasetName === 'function') ? backendApi.service.getDatasetName() : ''; if (processResult && processResult.data && processResult.data[datasetName]) { this._dataset =...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(event) => { if (gridOptions.enableTranslate) { this.extensionService.translateColumnHeaders(); this.extensionService.translateColumnPicker(); this.extensionService.translateGridMenu(); this.extensionService.translateHeaderMenu(); } }
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(e: any, args: any) => { return this.dispatchCustomEvent(`${slickgridEventPrefix}${titleCase(prop)}`, { eventData: e, args }); }
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(gridStateChange: GridStateChange) => { this.onGridStateChanged.emit(gridStateChange); }
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(e: any, args: any) => { grid.invalidate(); }
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(e: any, args: any) => { if (args && args.rows && Array.isArray(args.rows)) { args.rows.forEach((row) => grid.updateRow(row)); grid.render(); } }
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(row) => grid.updateRow(row)
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(rowNumber: number) => { const item = this.dataView.getItem(rowNumber); return gridOptions.colspanCallback(item); }
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
() => { // keep start time & end timestamps & return it after process execution const startTime = new Date(); // run any pre-process, if defined, for example a spinner if (backendApi.preProcess) { backendApi.preProcess(); } try { // the processes ca...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(processResult: GraphqlResult | any) => executeBackendProcessesCallback(startTime, processResult, backendApi, this.gridOptions.pagination.totalItems)
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(error: any) => onBackendError(error, backendApi)
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(resolvedCollection) => this.updateEditorCollection(column, resolvedCollection)
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(column: Column | any) => { // on every Editor that have a "collectionAsync", resolve the data and assign it to the "collection" property if (column.editor && column.editor.collectionAsync) { this.loadEditorCollectionAsync(column); } return { ...column, editor: column.editor && column.e...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(col: Column) => col.id === column.id
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
ngOnInit(): void { this.onBeforeGridCreate.emit(true); if (this.gridOptions && !this.gridOptions.enableAutoResize && (this._fixedHeight || this._fixedWidth)) { this.gridHeightString = `${this._fixedHeight}px`; this.gridWidthString = `${this._fixedWidth}px`; } }
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
ngOnDestroy(): void { this.onBeforeGridDestroy.emit(this.grid); this.destroy(); this.onAfterGridDestroyed.emit(true); }
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
destroy(emptyDomElementContainer = false) { const gridContainerId = this.gridOptions && this.gridOptions.gridContainerId; this.dataView = undefined; this.gridOptions = {}; this.extensionService.dispose(); this.filterService.dispose(); this.gridEventService.dispose(); this.gridStateService.d...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
ngAfterViewInit() { this.initialization(); this.isGridInitialized = true; // user must provide a "gridHeight" or use "autoResize: true" in the grid options if (!this._fixedHeight && !this.gridOptions.enableAutoResize) { throw new Error( `[Angular-Slickgrid] requires a "grid-height" or th...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
initialization() { // make sure the dataset is initialized (if not it will throw an error that it cannot getLength of null) this._dataset = this._dataset || []; this.gridOptions = this.mergeGridOptions(this.gridOptions); this.paginationOptions = this.gridOptions.pagination; this.locales = this.grid...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
/** * Commits the current edit to the grid */ commitEdit(target: Element) { if (this.grid.getOptions().autoCommitEdit) { const activeNode = this.grid.getActiveCellNode(); // a timeout must be set or this could come into conflict when slickgrid // tries to commit the edit when going from one...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
/** * Define our internal Post Process callback, it will execute internally after we get back result from the Process backend call * For now, this is GraphQL Service ONLY feature and it will basically refresh the Dataset & Pagination without having the user to create his own PostProcess every time */ createBac...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
bindDifferentHooks(grid: any, gridOptions: GridOption, dataView: any) { // on locale change, we have to manually translate the Headers, GridMenu if (this.translate && this.translate.onLangChange) { this.subscriptions.push( this.translate.onLangChange.subscribe((event) => { if (gridOptio...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
bindBackendCallbackFunctions(gridOptions: GridOption) { const backendApi = gridOptions.backendServiceApi; const serviceOptions: BackendServiceOption = (backendApi && backendApi.service && backendApi.service.options) ? backendApi.service.options : {}; const isExecuteCommandOnInit = (!serviceOptions) ? false...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
bindResizeHook(grid: any, options: GridOption) { // expand/autofit columns on first page load if (grid && options.autoFitColumnsOnFirstLoad && options.enableAutoSizeColumns) { grid.autosizeColumns(); // compensate anytime SlickGrid measureScrollbar is incorrect (only seems to happen in Chrome 1/5 ...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
executeAfterDataviewCreated(grid: any, gridOptions: GridOption, dataView: any) { // if user entered some Sort "presets", we need to reflect them all in the DOM if (gridOptions.enableSorting) { if (gridOptions.presets && Array.isArray(gridOptions.presets.sorters) && gridOptions.presets.sorters.length > 0)...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
mergeGridOptions(gridOptions): GridOption { gridOptions.gridId = this.gridId; gridOptions.gridContainerId = `slickGridContainer-${this.gridId}`; // use jquery extend to deep merge & copy to avoid immutable properties being changed in GlobalGridOptions after a route change const options = $.extend(true...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
/** * On a Pagination changed, we will trigger a Grid State changed with the new pagination info * Also if we use Row Selection or the Checkbox Selector, we need to reset any selection */ paginationChanged(pagination: Pagination) { if (this.gridOptions.enableRowSelection || this.gridOptions.enableCheckboxS...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
/** * When dataset changes, we need to refresh the entire grid UI & possibly resize it as well * @param dataset */ refreshGridData(dataset: any[], totalCount?: number) { if (Array.isArray(dataset) && this.grid && this.dataView && typeof this.dataView.setItems === 'function') { this.dataView.setItems(...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
/** * Dynamically change or update the column definitions list. * We will re-render the grid so that the new header and data shows up correctly. * If using i18n, we also need to trigger a re-translate of the column headers */ updateColumnDefinitionsList(newColumnDefinitions) { // map/swap the internal l...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
/** Toggle the filter row displayed on first row * @param isShowing */ showHeaderRow(isShowing: boolean) { this.grid.setHeaderRowVisibility(isShowing); return isShowing; }
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
/** Toggle the filter row displayed on first row */ toggleHeaderRow() { const isShowing = !this.grid.getOptions().showHeaderRow; this.grid.setHeaderRowVisibility(isShowing); return isShowing; }
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
// // private functions // ------------------ /** Dispatch of Custom Event, which by default will bubble & is cancelable */ private dispatchCustomEvent(eventName: string, data?: any, isBubbling: boolean = true, isCancelable: boolean = true) { const eventInit: CustomEventInit = { bubbles: isBubbling, cancelable: isC...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
/** Load the Editor Collection asynchronously and replace the "collection" property when Observable resolves */ private loadEditorCollectionAsync(column: Column) { const collectionAsync = column && column.editor && column.editor.collectionAsync; if (collectionAsync instanceof Observable) { this.subscripti...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
/** * For convenience to the user, we provide the property "editor" as an Angular-Slickgrid editor complex object * however "editor" is used internally by SlickGrid for it's own Editor Factory * so in our lib we will swap "editor" and copy it into a new property called "internalColumnEditor" * then take bac...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
MethodDeclaration
/** * Update the Editor "collection" property from an async call resolved * Since this is called after the async call resolves, the pointer will not be the same as the "column" argument passed. * Once we found the new pointer, we will reassign the "editor" and "collection" to the "internalColumnEditor" so it h...
ljacques/Angular-Slickgrid
src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts
TypeScript
ArrowFunction
(props: ISvgIconProps) => ( <svg width={props.size}
StringKe/IconPark
packages/react/src/icons/IconinnerShadowBottomLeft.tsx
TypeScript
InterfaceDeclaration
export interface FlagMap { readonly [key: string]: { readonly char?: AlphabetLowercase; readonly description: string; }; }
Gustu/lisk-sdk
commander/src/utils/flags.ts
TypeScript
TypeAliasDeclaration
export type AlphabetLowercase = | 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z';
Gustu/lisk-sdk
commander/src/utils/flags.ts
TypeScript
ClassDeclaration
@Component({ selector: 'list-item', templateUrl: './list.item.component.html', styleUrls: ['./list.item.component.css'] }) export class ListItemComponent implements OnInit { @Input('title') title: String; @Input('id') id: String; @Output('delete') deleteEvent = new EventEmitter(); @Output(...
att-cloudnative-labs/greensight
src/app/modules/cpt/components/list-item/list.item.component.ts
TypeScript
MethodDeclaration
ngOnInit() { }
att-cloudnative-labs/greensight
src/app/modules/cpt/components/list-item/list.item.component.ts
TypeScript
MethodDeclaration
onTitleSelected() { }
att-cloudnative-labs/greensight
src/app/modules/cpt/components/list-item/list.item.component.ts
TypeScript
MethodDeclaration
onDelete() { // raise an event for handling delete this.deleteEvent.emit({ id: this.id }); }
att-cloudnative-labs/greensight
src/app/modules/cpt/components/list-item/list.item.component.ts
TypeScript
MethodDeclaration
onItemSelected() { // raise an event for handling item selection this.itemSelectedEvent.emit({ id: this.id }); }
att-cloudnative-labs/greensight
src/app/modules/cpt/components/list-item/list.item.component.ts
TypeScript
ArrowFunction
(response: Response) => response.json()
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ArrowFunction
response => { console.log("followSelectedUser response captured"); console.log(response); var index = 0; this.usersData.forEach(user => { if(user==selecteduser){ this.usersData[index].isFollowing = true; } index++; }); }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ArrowFunction
user => { if(user==selecteduser){ this.usersData[index].isFollowing = true; } index++; }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ArrowFunction
response => { this.usersData = response.result; this.currentUser = response.user[0]; this.getFollowingStatus(); }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ArrowFunction
user => { if(user.picture){ this.usersData[index].imgUrl = "assets/icon/"+user.first_name.toLowerCase()+".jpg"; }else{ this.usersData[index].imgUrl = "assets/icon/avatar.jpeg"; } followings.forEach(following => { this.usersData[index].followText = "Follow"...
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ArrowFunction
following => { this.usersData[index].followText = "Follow"; if(user.emp_id==following.emp_id){ this.usersData[index].followText = "Following"; } }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ArrowFunction
() => { location.href='/notifications' }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ArrowFunction
() => { location.href='/' }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ArrowFunction
(event) => { this.handleChange(event);}
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ArrowFunction
user => <div> <ion-item> <ion-avatar
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ArrowFunction
() => { this.followSelectedUser(user); }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ArrowFunction
() => { location.href='/notes/'+user.emp_id.$numberInt }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
ClassDeclaration
@Component({ tag: 'app-home', styleUrl: 'app-home.css' }) export class AppHome { @State() value: string; @State() showData: boolean; @State() usersData : any; @State() user_id = 10046; @State() currentUser :any; @State() searchQuery :string; @Prop() searchText:string; handleChange...
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
MethodDeclaration
handleChange(event) { this.searchQuery = event.target.value; this.getUsersData(this.searchQuery); }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
MethodDeclaration
showSelectedUserCard(selecteduser) { console.log("showSelectedUserCard called"); this.getUsersData(selecteduser.first_name); }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
MethodDeclaration
prepareNotes() { console.log("prepareNotes called"); }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
MethodDeclaration
followSelectedUser(selecteduser) { console.log('https://webhooks.mongodb-stitch.com/api/client/v2.0/app/nasdaq-polly-lqprf/service/profiles-service/incoming_webhook/follow?action=follow&user='+this.user_id+'&follow='+selecteduser.emp_id.$numberInt); console.log("followSelectedUser called"); fetch('https...
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
MethodDeclaration
getUsersData(searchText) { console.log("printing serachtext before api call"); fetch('https://webhooks.mongodb-stitch.com/api/client/v2.0/app/nasdaq-polly-lqprf/service/profiles-service/incoming_webhook/get-profiles?user=10046&arg='+searchText) .then((response: Response) => response.json()) .then(response =>...
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
MethodDeclaration
getFollowingStatus() { console.log("getFollowingStatus called"); var index = 0; var followings = this.currentUser.followers; console.log("current user in getFollowingStatus"+ this.currentUser); this.usersData.forEach(user => { if(user.picture){ this.usersData[index].imgUrl = "a...
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
MethodDeclaration
componentWillLoad() { if(!this.searchText){ this.searchText= ""; } this.searchQuery = this.searchText; console.log("printing serachtext before api call componentWillLoad"+this.searchText); this.getUsersData(this.searchQuery); }
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
MethodDeclaration
render() { if(this.showData){ return ( <div class="full-height"> <ion-item> <ion-label></ion-label> </ion-item> <ion-toolbar color="primary"> <ion-buttons slot="primary"> ...
sivathangeswaran/profiles-polly
src/components/app-home/app-home.tsx
TypeScript
FunctionDeclaration
export function f1() { return new mExported.me.class1(); }
mybios/tstolua
tests/cases/projects/privacyCheck-SimpleReference/test.ts
TypeScript
FunctionDeclaration
function f2() { return new mExported.me.class1(); }
mybios/tstolua
tests/cases/projects/privacyCheck-SimpleReference/test.ts
TypeScript
FunctionDeclaration
export function f3() { return new mNonExported.mne.class1(); }
mybios/tstolua
tests/cases/projects/privacyCheck-SimpleReference/test.ts
TypeScript
FunctionDeclaration
function f4() { return new mNonExported.mne.class1(); }
mybios/tstolua
tests/cases/projects/privacyCheck-SimpleReference/test.ts
TypeScript
ClassDeclaration
export class class1 extends mExported.me.class1 { }
mybios/tstolua
tests/cases/projects/privacyCheck-SimpleReference/test.ts
TypeScript
ClassDeclaration
class class2 extends mExported.me.class1 { }
mybios/tstolua
tests/cases/projects/privacyCheck-SimpleReference/test.ts
TypeScript
ClassDeclaration
export class class3 extends mNonExported.mne.class1 { }
mybios/tstolua
tests/cases/projects/privacyCheck-SimpleReference/test.ts
TypeScript
ClassDeclaration
class class4 extends mNonExported.mne.class1 { }
mybios/tstolua
tests/cases/projects/privacyCheck-SimpleReference/test.ts
TypeScript
ClassDeclaration
@Module({ controllers: [ApiController, AppController], providers: [AppService, BaseService, ServiceA, ServiceB], imports: [UsersModule], }) export class AppModule { }
dextto/book-nestjs-backend
examples/ch4-provider/src/app.module.ts
TypeScript
FunctionDeclaration
function useFullScreenEditorTogglingEffect(fullscreen: boolean) { const globals = useGlobals(); useLayoutEffect(() => { if (!fullscreen) { iframeFullscreenContainer(globals.id, dependencies__.all.body()).classList.add("hidden"); } else { iframeFullscreenContainer(globals.id, dependencies__.all....
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
FunctionDeclaration
export function SingleEditorApp(props: { openFileExtension: string; readonly: boolean; getFileName: () => string; getFileContents: () => Promise<string | undefined>; toolbarContainer: HTMLElement; iframeContainer: HTMLElement; githubTextEditorToReplace: HTMLElement; fileInfo: FileInfo; }) { const [te...
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
ArrowFunction
() => { if (!fullscreen) { iframeFullscreenContainer(globals.id, dependencies__.all.body()).classList.add("hidden"); } else { iframeFullscreenContainer(globals.id, dependencies__.all.body()).classList.remove("hidden"); } }
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
ArrowFunction
() => { setFullscreen(false); setTextModeEnabled(false); }
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
ArrowFunction
() => setTextMode(false)
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
ArrowFunction
() => setTextMode(true)
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
ArrowFunction
() => setFullscreen(true)
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
ArrowFunction
() => { props.getFileContents().then(fileContent => { globals.externalEditorManager?.open(props.getFileName(), fileContent!, props.readonly); }); }
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
ArrowFunction
fileContent => { globals.externalEditorManager?.open(props.getFileName(), fileContent!, props.readonly); }
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
ArrowFunction
() => { return globals.externalEditorManager?.getLink( `${props.fileInfo.org}/${props.fileInfo.repo}/${props.fileInfo.gitRef}/${props.fileInfo.path}` ); }
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
ArrowFunction
() => { const listener = globals.externalEditorManager?.listenToComeBack(fileName => { dependencies__.all.edit__githubFileNameInput()!.value = fileName; }, isolatedEditorRef.current?.setContent!); return () => { listener?.stopListening(); }; }
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
ArrowFunction
fileName => { dependencies__.all.edit__githubFileNameInput()!.value = fileName; }
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript
ArrowFunction
() => { listener?.stopListening(); }
jschuler/kogito-tooling
packages/chrome-extension/src/app/components/single/SingleEditorApp.tsx
TypeScript